depo shot and pregnancy

So i’m getting off the depo shot i’ve only got the shot twice . How long will it take me to get pregnant if i try ? If i get my period and after my period during ovulation, Can i get pregnant ?