I would guess that you're not pregnant. The spotting was probably just what was left of your period and it got "loosened up" and came out (sorry to be so graphic lol). There is a very slim chance that you could be pregnant but I highly doubt it. The soonest you should take a pregnancy test would be after you miss your next period. I know that is a long time to wait but I'm sure that you are fine so try not to stress. Good luck!