Post-birth Question

How long after birth does your doctor put you/suggest you go on birth control? Is it right after the postpartum period or do you have to wait longer?