what is this?

so 3 days ago i had brown discharge, and i tried to wash it all out, and today it came back? my period is scheduled in 2 days. whats this?