sorry it's gross

So I'm 6 days po and I woke up to this! what is it? Why so dark and chunky?? ahhh!! before I went to bed when I peed and wiped there was a pink smear so I put on a liner thinking my period was going to start super early and woke up to this