Not having sex is the best protection against herpes and other STD. Having sex with only one uninfected partner who only has sex with you is also safe. You can also protect yourself by using latex condoms with a water-based lubricant every time you have sex. Use plastic (polyurethane) condoms if you’re allergic to latex. These come in both male and female styles. Both men and women should carry condoms.
Get checked for herpes and other STD regularly. Ask your health care provider to help you decide how often and which tests you should have. If you have more than one sex partner, get an STD check any time you’re concerned about risk, even if you don’t have symptoms. Don’t have sex with a person who you think may have an STD. Don’t use drugs or alcohol when you might have sex. If you’re high, you might forget to protect yourself.
Condoms can help prevent herpes when they cover the area where the active virus is.