why??

I've been having dark brownish spotting when I wipe after I pee since I last had sex 3 weeks ago... and it was unprotected but he didn't cum. but sometimes I start to bleed again like I'm on my period but I'm not until March. any ideas on what could be happening?