Birth control

I've only had one depo shot , has anyone gotten pregnant right away coming off ? Or if not how long did it take before you could come pregnant