Question!

What can cause excessive dark brown discharge? I’m supposed to start my period tomorrow so I figured it was just that but I filled a panti liner up with it! I had to take a plan b 2 wks ago.