Discharge

So I have been getting a brown discharge 9 days before my suppose to be period this is the second time this happens. Anyone knows why or has had this before?