Cramps during sex

Rachel • Momma to a 2 yr old baby girl and pregnant with my second
I find lately when my hubby and I have sex and I'm on top (it's only position semi comfortable) I get really bad muscle spasms/Charlie horse type feeling cramps in my belly. Hurt so bad today after we finished I cried. Anyone else experience this?