Belly pain.

Aine
Hi everyone I'm 25 weeks pregnant and for the past couple of months I have this pain at the top of my belly, like underneath my rib cage.. It feels as if the top of my abdomal muscle is strained, and it causes me a lot of discomfort. Sitting down on a chair or even lyin in bed at night. And I was wondering has anyone ever experienced this ??