What does this mean ??πŸ€·β€β™€οΈ

Jasmin

I went to the restroom and had this clear gooey discharge and after that i started having cramps or contractions and it kept waking me up at night because they hurt and everytime i woke up i felt discharge so i went to the restroom and saw it with a lil brown this time and the third and fourth it was like a light pink tinged pink i guess color and still having cramps or contractions at the moment I'm 39 weeks what can it mean ?