Birth control

Sheridan
I've been on the pill for a long time, and before that i was on depo for even longer. How long after being off those can i get pregnant? I'm kind of hoping to have a baby in about a year or two.