Important question about labor!!!

Macey • I'm 18yrs old second pregnancy first child a boy. Who should be arriving around December 4th 2015, his name is Patrick James Noonan and daddy and I are still together.

This morning I woke up coughing (I have a horrible cough) and I was leaking all the way to the bathroom and every time I cough more liquid comes out. There's also been some little parts of green and yellow goo coming out since I woke up. And I know for a fact it's not sperm because I havnt had sex in weeks. I've also beeen having stabbing pains in the sides of my stomatch around my belly button and sharp shooting pains in my lower abdomen. I'm 37.3 weeks pregnant today, and I've been on bed rest for probably about 12 weeks or so now due too having early contractions, pain, and spotting. I was wondering if any of you other mommy's have had this and when I should be expecting to give birth?? :o

Thank you in advance!! :)