what does it hit?

Maybe this is the wrong place to ask this and maybe TMI, but here it goes. When we are having sex and he is on top holding my legs up so he can push himself in deeper I feel a sharp pain like he's hitting something. I end up trying to move away because it hurts and I stop enjoying the sex. Please let me know if anyone else has felt like this. Thanks