Thank you for your query on Healthcare Magic.
Don't try to vomit as this may cause injury
to food pipe.
Consult the doctor for examination.
They will advise x ray
to know the position of pins and their number.
The problem with the pins are injury to gut with its sharp tips.
If the pins are open, there is a chance of bleeding and perforation.
If they are closed, they will pass in stool.
The doctor will guide you in the management.
If you have a habit of ingesting non edible objects, take the opinion of a psychiatrist
Hope I have answered your query.