4 am and need advice.

I woke up around 3:30 and started having stomach and lower back pain. the pain woke me up so I went to the rest room assuming that was the problem. nothing happened so I just went back to bed and passed it off as gas. a few minutes later the pain was back so I ran to the restroom again and again nothing happened. I have no idea what contractions feel like as I'm a first time mom but I feel like maybe this is them? I'm only 29 weeks. I don't want to over react so what should i do?!