The medication used to treat HSV-2 (genital herpes) is often the same as that for treating HSV-1 (oral herpes). Antiviral medications like acyclovir, valacyclovir, and famciclovir are commonly prescribed for both types of herpes infections. However, the dosage may vary based on factors such as severity of symptoms and frequency of outbreaks. It's important to consult with a healthcare provider who can provide personalized guidance on your specific condition.