Several factors increase the risk of herpes virus infection. These include a higher number of sexual partners, advancing age, low socioeconomic status (such as low income and education levels), being of Black or Hispanic ethnic origin, female gender, sexual activities among men, and co-infection with HIV.