Depo shot

Pinkii
I was on the depo shot for two years but had to take a break from it. I just got back on it a little less than a month ago. How long does it take for it to be affective? I got the shot maybe a week after my period.