A lactation consultant should be consulted if the mother experiences persistent pain, has concerns about milk supply, notices signs of infection, or if the baby is not gaining weight appropriately. These professionals can provide personalized advice and support to address specific breastfeeding challenges.