Breastfeeding and periods?

How long after you stopped breastfeeding did you start back on your period? On or off the pill?