Why did I feel pain in my stomach while having sex and after?

lupita
Okay so I been having sex with my bf and yesterday I noticed when I was on top of him my stomach started to hurt like it when you feel your stomach bloated. After we finished it still hurt like in the upper part is that normal?