I am experiencing this brown discharge??

Tristan
According to Glow my period isn't due until the 6th. I started seeing light brown discharge yesterday and today there's more. Is my period early? Maybe Glow miscalculated my days? If that's the case then I shouldn't be pregnant since we had sex after my fertile window. Should I be counting this as the first day of my period? I'm so confused. Also, is brown discharge after your period still considered your actual period? I want to calculate my fertile window correctly. Thanks