The effectiveness of antiviral medications varies depending on the type of virus and the timing of treatment. Early initiation of antiviral therapy usually results in better outcomes. For example, starting treatment within 72 hours of the onset of an HSV outbreak can significantly reduce the duration and severity of symptoms.