I'm freaking out

I'm having super gross thick, stringy dark brown discharge.. with mild cramping I've included a tmi picture I'm sorry it's gross I'm just freaking out PLEASE HELP explain this to me.. is it normal or nothing to worry about or am I losing the baby please please help me.. before I go to the emergency room to check on my baby! I'm 7 weeks and 4 days it's my first pregnancy!!