Stomach pains

I’m 27 weeks and already dilated 1cm so I guess everything freaks me out. But all day today I’ve had this terrible pain in my stomach. It feels like my whole stomach is bruised. I’m not sure if it’s gas pains or what??