I was on top of my partner , during sex& when he was going slow and fast in me I caught a cramp in my vagina like period cramps and it hurted

I was on top of my partner , during sex& when he was going slow and fast in me I caught a cramp in my vagina like period cramps and it hurted