Brown discharge/blood

So I just got my period yesterday. Yesterday and today I’ve had brown discharge or maybe it’s blood, i’m unsure really. I’ve had this towards the end of my period but never at the beginning. Should I be worried? Does anyone know the cause of this?