I think I was having contractions

MamaBear
The other night I had waves of pain, I felt them all the way from my belly to my booty/vagina & back. I was crying from the pain but I turned to my other side and it went away should I still tell my doctor or call her or wait for an appointment? I'm 27 weeks