Girl asked me to slap her ass hard while she was on top and I accidentally smacked my balls full force

It didn’t really register at first. I felt myself hit my balls and thought “Damn I missed how embarrassing.” It wasn’t until we finished that I started to feel an intense ache in my stomach that travelled slowly up to my throat. It became so intense that I had to lay down to avoid throwing up. Kinda like extreme blue balls. Anybody else done this before?