Breastfeeding may not be recommended in certain situations, such as when the mother has specific infections like HIV, is undergoing chemotherapy, or taking certain medications that can be harmful to the baby. In such cases, nurses should provide alternative feeding options and ensure the mother understands the reasons behind these recommendations.