Brown spotting?

My period is due today and I had brown spotting earlier today and it went away. Has anyone had this when their period was supposed to start?! So confused!