A newborn has lost 9% of birth weight by day 3.The mother has flat nipples and reports pain during feeding.What is the priority intervention?