There are two ways to apply for a Nonimmigrant Visa Waiver:
Before being granted a visa: Request a waiver when you apply for a visa at a US consular post by filing Form I-601, Application for Waiver of Grounds of Inadmissibility.
When you have a valid visa: Submit Form I-192, Application for Advance Permission to Enter as a Nonimmigrant.