Mastitis can be treated at home with hot compresses, local cleansing, and internal medication such as penicillin V potassium capsules, levofloxacin, and ibuprofen capsules. 1. Localized hot compresses: Mastitis can lead to swelling and pain in the breast area, you can take a hot water bag or hot towel hot compresses, during the hot compresses can accelerate the blood circulation in the breast area, promote the absorption of swelling and improve the pain. 2. Local cleanliness: Mastitis needs to keep the nipple area clean and hygienic, take water or salt water to do local cleaning, and wear loose breathable underwear to speed up the local metabolism, which will help the inflammation recovery. 3. Medications: Penicillin V potassium and other penicillins for breastfeeding mastitis, and levofloxacin and other quinolone antibiotics for non-breastfeeding mastitis. If the pain is severe, you can take ibuprofen capsules and acetaminophen tablets orally to relieve the pain. Mastitis needs to be reviewed regularly during the treatment period, and if the condition does not improve for a long time, you should cooperate with the doctor to change the treatment method in time. The above medications should be used under the supervision of a physician.