Unusual pain after sex!

I had sex last night with my male partner of a couple months. Right afterwards I cramped up from my tummy down to my pelvic bone. It hurt so much I was nauseous and had diarrhea. I was clammy and shaking from the pain for about two hours. I’m about 12 days from my next period. What could this be from?! We have had sex a lot and it has never been painful like this. I’m still not 100% this morning. Any input is appreciated!