Sex&Period

So after the 5th day of period brown stuff come out , can I have sex while that comes out ? Is it gonna start my period back up again .