Herpes simplex 2 is an STI that causes painful sores on the genitals after you come in contact with the saliva or genitals of someone with herpes. Genital herpes is a lifelong infection. In contrast, balanitis is not an STI. It typically affects people with foreskin, but it goes away with treatment.