Treatment take pain relievers like acetaminophen (Tylenol) or ibuprofen (Advil, Motrin) hold a warm, moist compress to your breasts. use a lanolin ointment to prevent nipple cracking.