The emergence of antiviral resistance complicates the management of viral infections. For example, resistant strains of HSV may require higher doses or alternative medications. In the case of HIV, resistance testing is often conducted to tailor the most effective antiretroviral therapy (ART) regimen.