Stomach pains

Jamila

So ive been getting these really bad pains at the top of my stomach. It kind of feel like being constipated or having gas stuck. I dont know what this could be. It has happened a few times before and it eventually goes away. It hurts to lay down no matter which way I lay. Has anybody else experienced this?? I'm 36 weeks and 6 days.