Herpes is a sexually transmitted disease (STD) or sexually transmitted infection (STI). It causes painful outbreaks of blisters and sores. It spreads through contact with an infected area—usually a sore on the genitals, rectum, or mouth.