Stomach pains!! 31 weeks pregnant

Kirsten • Teen mommy to a beautiful baby girl😍 1/11/17👶🏻😘
I woke up this morning and the top of my stomach was hurting like below my boobs. Kind of like a hunger pain. So I ate and that just made me sick. I got to school and the pain started getting worse. I ate a granola bar seeing if that would help and again I got nauseous. I waited about 3o minutes and the pain just got worse but now it moved to the sides and kind of my lower abdomen but that isn't where the pain is the worse at its still hurting most on top. My eyes kind of started to water and I am in so much pain. I'm laying in bed now and laying down conoletley hurts so I'm propped up so I am just laying back. I am eating saltines and drinking 7up. My baby is still moving so that worry is out of the way? Any ideas or suggestion??