Miscarriage Discharge

Had a miscarriage 2 weeks ago today at 9 weeks. Went to the bathroom and wiped and a HEAVY amount of stretchy thick brown discharge came out. Anyone know what this is? My follow up appt is Friday with my OBGYN. I’ve also been having some pain on my left side lower back and vaginal itching. Maybe infection?