Hi.. The medical treatment of fungal infection of the nail is by using oral antifungal medications... They are prescribed by dermatologist and you may have to meet one to avail the medications.. Check your immune status by looking at the sugar and for other possible infections... Avoid exposing your affected nails to moist conditions.. Direct applications with vinegar are also effective in reducing the condition, but the effectiveness of topical treatment is not known..