Pain after sex

Na

My SO and I were having sex yesterday and we used our sex pillow. The sex pillow keeps your booty in the air and while he was thrusting inside me it kinda felt like he went sideways and it hurt then we swapt and I rode him but I started getting a bad tummy ache and cramps I felt I couldn’t move so we stopped. I’m still some what sore and cramping. It kinda felt like bad period cramps the ones you can’t move with. Any advice he felt so bad and I told him it was ok. But he’s worried I’m ok just still cramping.