Brown discharge after being checked!

kassie
So this morning i went to the doctor i am am 37 weeks today and she did a cervical check on me and when i got home i started just getting uncomfortable and just mild cramping and when i went to the bathroom i am now having brown discharge... what does this mean!??