Sharp pains in vagina near cervix

Krista
I'm 16 weeks and 4 days pregnant. I just started experincing sharp pains in my cervix or that's what it feels like it's coming from. I'm not bleeding but the sharp pains last for a second and they keep happening. It's my first pregnancy and it's scaring me a little. I've been stressed out of my mind due to the fact I caught my boyfriend of 6 years texting his ex. It's made me depressed and upset because I'm unsure if he plans on staying around or not. Could that be that cause? I know I'll make it either way single parent or not but it still hurts. I try not to stress over it too much because I don't wanna miscarry on top of everything else going on. I know yal aren't doctors but anybody else experience something like this?