Fungal infections in the toe or fingernails can appear as thickened, discolored, or disfigured. While it may seem like the condition is just an aesthetic concern, fungal infections can lead to worsened symptoms and pain. This infection can be persistent and thrives in the moist environment provided by your feet. Topical medication is often the first line of treatment against toenail fungus. The medication kills fungus present at the surface of the nail. If your infection has penetrated beneath your nails, you may need oral medication combined with a topical cream. In some cases, a small nail procedure is sometimes necessary to remove infected parts of a nail.