What does this mean??

Mrs.
I have been going back and forth between regular contractions every 8-10 min and irregular contractions that happen sporadically through the day. I'm 36 weeks + 1 day. Today I have had a ton of vaginal mucous/discharge to where my underwear is reeeeally wet and now I'm having pain on and off in my vagina. They feel like contractions but I don't know! Any ideas/experience with this?