What does it mean

I come on my cycle next week but I've been spotting for two days what does this mean? Yes I had unprotected sex only once last month