pregnancy after the pill s

Ri

how long will it take to get pregant if I was on the pill for only 2 month's? ?