Help!!

So I had black/ dark brown blood discharge 12 days before my period was supposed to start and then it stopped by the end of the day. I am confused why it happened and if it is bad??