Breastfeeding has an effect on the production of hormones that reduces the probability of ovulation (egg release) occurring, therefore reducing the chance of a pregnancy.