Antivirals are medications used to treat viral infections. Unlike antibiotics, antivirals do not kill the virus but instead inhibit its ability to replicate. Common pediatric viral infections that may require antiviral treatment include influenza and herpes simplex virus infections.