Gray nails are caused by fungal infections. For skin diseases caused by fungal infections, the treatment principle is to kill the fungus thoroughly and prevent fungal infection. For the treatment of gray nails, there are basically two types of treatment: general treatment and medication. The general treatment includes local cleaning and drying of the affected area, as well as dietary control, a light diet, and avoiding spicy and acidic foods. Avoid scratching and massaging the nail to avoid fungal infection. On top of medication, you can apply ketoconazole, econazole and other creams locally for antifungal treatment, or take oral antifungal medication such as itraconazole and ashwagandha for treatment. In addition, if the gray nail is accompanied by a bacterial infection, the affected area must also be treated with a wet application of boric acid solution for anti-inflammatory purposes.