Garden sage or parsley eaten or brewed for tea will act as the opposite of a galactagogue, drying up excess milk to reduce blockages in the milk ducts and improve swelling, helping the infection to heal. Use small quantities over a short period of time, so as not to threaten the establishment of an adequate milk supply. The best prevention for sore nipples is protection. Newborn babies have a tendency to camp at the breast, and this frequent use can cause some wear and tear. Conditioning of the nipples can begin during pregnancy, with simple and natural emollients.
Almond oil is a good option, or lanolin.
Lanolin, unlike the almond oil, can be used after baby arrives and is established in nursing. Lanolin will not interfere with baby's ability to latch on to the nipple correctly, nor will it harm baby to suck on nipples wearing lanolin. It need not be removed to nurse, and can be applied prior to feedings to protect and nourish the nipples. Regular use of lanolin will help to prevent tears on the nipples, which aside from being painful provide an opening for bacteria and increase the likelihood of developing mastitis. Allow fresh air to visit the breasts.