Seek medical attention, it could just be nothing, but you should rule out logical solutions first.
If you fear someone's using a doll on you, it doesn't work like that. Sticking a poppet with a pin could be used for pain, but also to heal. Plus people don't go around making them to harm people as much anymore. Even if someone did, I doubt they made it correctly, so don't worry.