Spotting

So i went to the doctor before they gave me a shot had to make sure im not pregnant..... well now the last few days iv been spotting could it of been too soon? Still have not gotten my period??