Sex cramps/muscle spasms

When hubby and I have sex and he sometimes goes deep it sometimes hurt. When it happened this time he said the tip hit something inside me which I def felt and cringed, then I got really bad muscle spasms/cramps for the rest of the night and I couldn’t move. He’s done it before and maybe it my cervix but it didn’t feel this bad. Now I still have a tender soreness in my abdomen and he said he felt my stomach tensing up afterward. Has anyone experienced anything like this before?