Treatments may include remedies like antifungal medications ... occurs when the nails turn yellow or brown and get very thick, long, and curved. The big toenail is most often affected.