Spotting very concerned. Tmi

Hey all. I'm so scared. Have been having discharge the last 4 days or so.  Brown when I wipe. Last night when I wiped I had this..of course like any mom to be I went on the internet and found it looks like a miscarriage. Have you had this?