I've seen some success on skin and mucus membranes. Nails, however, are a different story. They are much harder to treat, and the medicine doesn't get into the nail very well. See your doctor and make sure it is a fungal infection
. You can then review all the options.