For fungus infection, there are plenty of options. Many medications are available, including miconazole (Micatin, Zeasorb powder), econazole (Spectazole), clotrimazole (Lotrimin), terbinafine (Lamisil), naftifine (Naftin), butenafine (Mentax), ciclopirox (Loprox), ketoconazole (Nizoral), efinaconazole (Jublia), luliconazole (Luzu), sertaconazole (Ertaczo), sulconazole (Exelderm), and tolnaftate (Tinactin). Ask your health care professional or pharmacist for a recommendation. It is difficult to know which of these drugs is most effective since they have not been tested against each other. Cost is probably the most significant differentiating factor, and many are available without a prescription. Treatment for athlete's foot should generally be continued for four weeks or at least one week after all of the skin symptoms have cleared.
If you have diabetes, you may have reduced blood circulation and nerve supply in your feet. You're also at greater risk of a bacterial skin infection (cellulitis). So any relatively minor injury to your feet — including a nail fungal infection — can lead to a more serious complication. See your doctor if you have diabetes and think you're developing nail fungus.