Please help I’m dying

So today I had sex with my boyfriend and it was great

While he was penetrating it kinda felt like he was hitting something but stil ok .

As soon as we got done I got a sharp pain that I felt near my butthole sorry

Then after tht it was a really painful pain in the pelvic area

To the point where I was crying

I got home went number 2 thinking it was just gas but that didn’t help

I also felt super nauseous and almost threw up driving home .

Also immediately feeling that pain I began shaking

Please help I dnt know what it could have been

Or maybe I’m just paranoid

I did have the bubble guts right before sex so could it just have been gas?

The pain was the worst I have ever felt almost had to pull over

Thank u