Strange pain

Tere
I'm having a bit of an issues right now. I'm not sure if this is relevant to the group, but I'm not sure where else to ask. But I'm having a bit of pressure right under the bottom right rib. It's been slowly spreading out. Last time I had a pain like this, I ended up in the hospital for a week only for doctors to completely ignore me and give me morphine. I started hurting a little bit today about 5pm and it's been slowing increasing except for maybe the past 10 minutes where it increased rapidly and now it even hurts to lay down and breathe. I'm really hurting right now and I want to make sure I'm not hurting my baby. Unless my baby is massive for 18 weeks, I doubt it's his kicks. Any ideas what it could be and what I could do?