A doctor usually prescribes oral or topical antivirals to treat herpes or manage symptoms of an outbreak. Some of these antivirals used include:  Acyclovir (Sitavig, Zovirax). Famciclovir (Famvir). Valacyclovir (Valtrex).