Cultured dairy or fermented foods (ideally organic and raw) — these are beneficial for replacing good bacteria in the gut since they provide probiotics. Probiotics help control yeast and also have numerous immune-enhancing effects. For other sources of probiotics, in addition to yogurt or kefir try cultured foods like kimchi, kombucha or sauerkraut.
Caprylic acid, one of the medium-chain fatty acids in coconut oil, has the ability to penetrate the durable cell wall of candida and other fungi.  Without its protective coating the cells of the fungus dissolve, effectively destroying the infection.  Apply a thin layer of coconut oil to infected areas and let it soak in for at least fifteen minutes.  Coconut oil is great for skin health, so there is no limit to how often you can use this treatment.  Just make sure you aren’t allergic to coconuts before applying this product to sensitive tissue.
What triggers candida in the first place? This overgrowth of yeast can develop from a number of factors, including antibiotic use, poor digestion, low immune system function, a high sugar and grain diet, stress or hormonal changes. All these create an acidic environment that encourages yeast growth and the presence of candida. Many people opt for over-the-counter anti-fungal creams or even medications, but they only treat the symptoms, not the environment that allows candida to flourish.
Over-the-counter toenail fungus treatments can cure existing infections, but only products which include 1% Tolnaftate can prevent a recurrence of the condition. Tolnaftate is the only ingredient approved by the US Food and Drug Administration for the prevention of fungal infections. Treating toe nail area fungus is only part of the solution. Preventing further outbreaks using a product with 1% Tolnaftate will keep you looking and feeling your best.
Swelling and redness of the skin around the nail is called paronychia. This is an infection of the skin at the bottom of the nail (cuticle). If the infection is acute (has a rapid onset), it is usually caused by bacteria. It may respond to warm soaks but will often need to be drained by a doctor. A chronic paronychia occurs when a cuticle becomes inflamed or irritated over time. Sometimes, yeast will take advantage of the damaged skin and infect the area as well. Therapy begins with keeping the skin dry and out of water. If the problem continues, a physician should be consulted. Antibiotics are not often used but may be necessary in severe infection.

For some people, a fungal infection of the nails can be difficult to cure and the first round of medication might not work. The nail infection can’t be considered cured until a new nail that’s free from infection has grown in. Although this indicates that the nail is no longer infected, it’s possible for the fungal infection to return. In severe cases, there may be permanent damage to your nail, and it may have to be removed.

In some cases of suspected nail fungus there is actually no fungal infection, but only nail deformity. A 2003 source gives a figure of 50%[17] whereas a more recent source claims that fungus is present in 65 to 95 percent of cases.[18] Avoiding use of oral antifungal therapy (e.g. terbinafine) in persons without a confirmed infection is a particular concern because of the possible side effects of that treatment.[17] However, according to a 2015 study, the cost in the United States of testing with the periodic acid–Schiff stain (PAS) was about $148. Even if the cheaper KOH test is used first and the PAS test is used only if the KOH test is negative, there is a good chance that the PAS will be done (because of either a true or a false negative with the KOH test). But the terbinafine treatment only cost $10 (plus an additional $43 for liver function tests). In conclusion the authors say that terbinafine has a relatively benign adverse effect profile, with liver damage very rare, so it makes more sense cost-wise for the dermatologist to prescribe the treatment without doing the PAS test. (Another option would be to prescribe the treatment only if the potassium hydroxide test is positive, but it gives a false negative in about 20% of cases of fungal infection.) On the other hand, as of 2015 the price of topical (non-oral) treatment with efinaconazole was $2307 per nail, so testing is recommended before prescribing it.[18]

If you have diabetes or a weakened immune system, treatment is especially important. After getting a fungal nail infection, people who have diabetes have an increased risk of developing sores that do not heal. Sores that do not heal can lead to a serious health problem. It’s important to see a dermatologist (or other doctor) at the first sign of a nail problem. A dermatologist can tell you whether you have a nail infection or something else.