There are 3 antivirals (oral medication) generally prescribed for treating HSV. These are Valtrex/valacyclovir, Famvir/famciclovir, and acyclovir. They require a doctor's prescription.
There are also several topicals that you can get over the counter. Some of these are Abreva, Releev, and Dermoplast.
In addition some people use natural remedies such as honey, which has been found to have antiviral properties. However, these have not been formulated, and have had no clinical trials, specifically to treat HSV.
Hi they are prescribed and are used by those with recurring outbreaks.