Help! Sharp pain in lower right side

I've been having constant sharp pain in my lower right side for 6 hours. I've tried resting and water and it's not helping at all. I think I'm having contractions because my stomach keeps getting really tight and my lower back hurts. I'm only 31 weeks so I clearly am hoping it's not a sign that the baby is trying to come. Anyone else having this issue? Can anyone put me at ease?