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.