Pain in top of belly

I’m 26 weeks and have this bad pain on the top of my stomach. Almost like it’s bruised? Idk what could be causing this. It doesn’t feel like growing or stretching pains. It’s worse?