Sex and cramps?

Abbie

I was having sex a few nights ago and started to get cramps in the middle of it. I tried to brush it off but they continued to worsen. By the end of it I was lying on my bfs bathroom floor in excruciating pain so bad I threw up and nearly passed out. Now I should mention that I have an EXTREAMLY high pain tolerance, so to have pain this bad is super worrying to me. Does anyone have any clue what happened? Ive never had period cramps that bad but I am supposed to start soon so maybe the sex just intensified them?