Tmi HELP !

So I was like two days late starting period and I'm on the pill I have messed it up maybe twice and have been having unprotected sex with my SO. And no I'm spotting bleeding with sticky stretchy discharge in it ! That's never happened before ! And my period started off brown got a little pink and then brown with red in it discharge and it's stretchy and sticky! What is going on ?