How well does my birth control work?

I just started the depo shot recently and I don't know how protective it is.  I was previously on the pills, but never had sex without a condom while on them. Is there really any chance of me getting pregnant while getting the depo shot?