Genital herpes is an infection caused by the herpes simplex virus. You catch it by having intimate (usually sexual) contact with someone who has the virus.
This is a companion discussion topic for the original article at https://patient.info/features/sexual-health/whats-the-best-way-to-treat-a-herpes-outbreak