Trigger warning. ? Miscarriage

I've been spotting off and on for a few days and just had this. It looks brown ish more than red. Had ultrasound Thursday everything looked fine. I should be 6 weeks tomorrow.