Worried..

Hi guys so my period is right around the corner by today I noticed some little spotting (brown ish color) and I had protected sex a few days ago and a couple weeks ago, we always use a condom ... I got pregnancy test yesterday and did it it said negative so is this spotting normal ?? I'm also in grad school so I've been quite stressed out