If the nail area is red, swollen, or painful, you can take oral roxithromycin capsules or azithromycin dry suspension and apply topical fusidic acid cream or compound polymyxin B ointment for anti-inflammatory and antibacterial treatment, and you should also apply topical ezacridine lactate. When the inflammation subsides, the nail can be gently rubbed with a file to thin the thickened nail. If the nail fungus is caused by a combined fungal infection, topical application of amorolfine hydrochloride can be applied as an antifungal treatment.