Fungus to the nail: Fungus of the toenails is a very common medical problem. This can occur in patients of all age groups. Often the fungal infection starts as an infection in an area of the skin. Eventually the infection gets under the nail and causes the color of the nail to change to a yellow or brownish tone. Sometimes the fungus also causes the nail to thicken or become otherwise deformed. There are various medical treatments for this condition which can be provided by your foot and ankle physician.