HELP?!!!

Been on and off my period for the past 2 months must have had around 5 short periods where the blood is very dark/ brown black. What is happening ??? I am on the mini pill because I had very irregular heavy periods