I need help :(

I'm 36 and half weeks pregnant! So I had contractions ALL through the night but I was too uncomfortable and in pain to actually time them! Well I woke up and no more contractions but sight tightening in my lower abdomen still... I feel like I have to poop but i just can't! Nothing! So when I tried to poop mucus came out! Am I going into labor soon? What should I do