Swollen and painful toenails with pus are usually referred to as onychomycosis. The common treatment methods of inguinitis include medication, surgery, physical therapy, etc. The specific treatment methods should be determined by the doctor according to the patient’s specific condition, physical condition and so on. Inguguinitis is an inflammation of the tissue around the nail, the clinical manifestations of local tissue redness, swelling, heat, pain, etc., and in severe cases, pus can also occur. For patients with redness, swelling, pain and pus, topical mupirocin ointment and erythromycin ointment can be used to promote the inflammation to subside. In addition, infrared rays, ultra-short wave and other physical therapy methods are also effective in the treatment of onychomycosis. For patients with clear abscess formation and failure of conservative treatment, surgical treatment such as incision and drainage of abscess and nail extraction can be performed, with regular postoperative medication changes. Patients with swollen and painful toenails and pus should consult a doctor for an appropriate and effective treatment plan. At the same time, patients should correct bad habits, pay attention to personal hygiene, and actively cooperate with the doctor’s treatment.