Giving oral acyclovir or valacyclovir during in the last few weeks of pregnancy to women with a history of genital HSV may prevent recurrences at the time of delivery and decrease the need for cesarean delivery.