Mucus Discharge!!

Cecci

i am turning 32 weeks on Wednesday but for the past 2 days i had contractions like pains but when i sat down it went away, but as of today i woke up @4am to go pee & throughout the whole day i had mucus vaginal discharge. What should i do?