Is this it normal?

To get brown discharge the day before ur period? I had some yesterday and I still had sex and I’m supposed to get my period today