Weird pain?

Bre
So last night my boyfriend an i were having sex an we were in this position where I was on my back an had my legs over his shoulders an he was kinda sitting up but still inside me an while he was , ya know, pumpin away I got this weird pain from the bottom of my rib cage down a little ways past my belly button. It stayed like that untill we switched positions then it went away, we did tjat position again an there was no pain. This is odd because we always do this position an ive never had a pain before