Brown spotting

So My period is said to come in two days but for two weeks I’ve been getting cramps & I went to the doctor and they said everything looks normal & today I noticed brown spotting & that usually happens the day of my period for like a few hours then I bleed but this time it keeps coming out brown & with spots of blood . Can someone tell me what that means ?? I’ve also had unprotected sex & I took two pregnancy test last week & they came out negative.