Fungal infections of the nails are a common occurrence and can be caused by bacteria, fungi, viruses, injuries, and other factors. Symptoms include thickened, brittle, discolored, or deformed nails, as well as pain and discomfort when wearing shoes. If left untreated, the infection can spread and cause serious complications.