If you choose to breastfeed, it's recommended that babies should consume only breast milk for around the first 6 months of their lives. After this, it is recommended that they continue to be breastfed for 2 years and beyond, alongside eating other foods.