I’m worry

I am almost 9 weeks. I got dark brown spotting yesterday. Is that a sign of miscarriage is coming?