Period

So I have brown discharge right now and it happens before I bleed. Does it count as the beginning of my period? Or does my period start when I start bleeding?