To get rid of toe fungus, apply 100% tea tree oil to the affected area with a cotton swab twice a day. You can also try applying Vick's VapoRub to your toe every night before you go to sleep, which may make the fungus go away. Another home remedy you can try is snakeroot leaf extract, which may clear up the fungus if you apply it to the affected area every 3 days. If home remedies aren't helping, talk to your doctor about getting an oral or topical antifungal medication.
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.