cramp like pain just under ribs after sex

I had sex about an hour ago and now my upper stomach just below my ribs hurts terribly almost like cramps but much farther up than my normal period cramps. Does anyone know why or what it could me or if it's related at all?

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors