when can i have sex after my shot

nicole • i hate my period, just like i hate my life.
i got my shot on the 10th. for the first time. 
if i have sex tomorrow (protected) will the shots method still work? im i not suppose to have sex after getting it for a week or something?