Nails infected by fungus can be completely removed by using topical ointment, taking medication and surgical treatment. 1. Topical ointment: If the nails are infected with fungus, patients can usually use topical ointment under the guidance of a doctor to completely remove the commonly used ointment amorphophallus hydrochloride cream, cyclopyrrolidine cream, terbinafine hydrochloride gel, etc., which have a broad-spectrum antifungal effect, and can play a bacteriostatic, bacteriostatic effect. 2. Taking drugs: If the nails are infected with fungus, patients can also take antifungal drugs under the guidance of the doctor to completely remove, such as itraconazole capsules, terbinafine hydrochloride tablets, miconazole nitrate capsules and so on. It should be noted that during the medication, try not to eat spicy, stimulating food, and do not drink alcohol, so as not to affect the efficacy of the drug. 3. Surgery: In addition to topical ointment and medication, patients can also remove the fungus from the nails completely through surgical treatment, such as nail removal. After surgery, patients need to pay attention to the skin around the nails to clean and dry, usually try not to eat spicy, stimulating food, so as not to affect the healing of the wound.