A fungus infection of the nail is one of the most common of all skin infections. Toenails are often affected because shoes increase the warmth and moisture and create an ideal environment for fungus growth. Taking oral medication for a few months is usually the most effective cure.