Pain during sex

I've noticed lately that when my bf goes all the way inside me it hurts. Like a sharp pain where his head would be inside me. Idk if it's bc hes hitting my cervix maybe lol I'm not sure?? Any thoughts