Spotting/ brown discharge

Michelle

5 days before my period i had brown discharge and pink blood. Help me understand this....