Oral antifungal therapy should be prescribed only after confirmation of fungal infection. Oral terbinafine is typically the first-line treatment for confirmed onychomycosis. The treatment course is generally 6 weeks for fingernails and 12 weeks for toenails.