How long after birth control?

I am getting older, and always heard BC takes a long time to leave ur system... So I went off BC (took for 20yrs) and got pregnant immediately!  
​I feel dumb to say it's a surprise pregnancy, and unplanned...but I was misinformed & not expecting anything for many months, even years! (such a happy surprise tho!)