SEX GON WRONG PLS HELP😢😩

I was having sex with my boyfriend and out of no where started getting sharp pains that started traveling to my upper body like like my stomach and chest. It felt like I was having a heart attack tbh but I know it wasn’t. I was having really sharp pains and felt very bloated like I had to throw up later on. Idk what was happening but I could barely walk from the sharp pains and it’s been about an hour and the sharp pains have dulled a bit but yeah. Has this ever happened to anyone else? Idk if it’s air..? My cervix? Irdk but if anyone could help it’d mean a lot