Does anyone know what this is? please help.

Claira
I'm 35 weeks pregnant and I've had awful cramping for 4 days but now I'm having brown stuff come out. It's gotten a lot worse since yesterday. Did anyone else have this and if so what is it.