What to do 😭

Sa
Hey guys, so this might be TMI and a little long just want to get it all in, I'm sorry😁 
I'm 30 weeks and the past few days have been extremely irritable, heartburn and my back aches have been hell.. This morning I noticed some sharp twinges here and there and then started getting what felt like pretty bad period pains.. From right behind my hips around and to where my (non-pregnant) uterus would sit.. They come and go but laying down, sitting, standing, nothing helps. I went to the bathroom and ¡¡TMI ¡¡ I wiped and a nickel sized glob of thick clear/snot colored mucus was on the tissue. No contractions just these period like cramps.. Saw my dr Friday who measured fundal height and checked our boys heartbeat.. What should I do.?!