Follow these precautions and steps first:
Don't try to remove the object. Doing so could cause further harm.
Bandage the wound. First put a piece of gauze over the object. Then, if it helps, put clean padding around the object before binding the wound securely with a bandage or a piece of clean cloth.