Pain during and after sex

(Not exactly TMI, but I need answers!)

I had sex with my partner, and it was hurting my insides when he thrusted. I've had sex hundreds of times with just this partner, so an STI is not the problem. I knew it was hurting, but I didn't want to ruin it for him, so I kept going until he finished. Once we were done, it really began to hurt. I was tearing up and about to vomit from the pain. I was red hot and sweating profusely, but I was covered in goose bumps and shaking. I ended up laying on my bathroom floor for 20 minutes before the pain and odd symptoms subsided. Does anyone know what may have happened? I'm just a little scared... Thanks for any help!!