Avoid touching any sores you have. If you do, wash your hands with soap and water. You should avoid sex while you have sores, and use a male or female condom or dental dam with your partner if sex occurs despite intentions to not have sex. Herpes is most contagious during an outbreak, but it’s also possible to spread herpes when no symptoms are present.
Only a health care provider can diagnose herpes by performing a physical exam and tests. A blood test can tell if you are infected with oral or genital herpes — even if you don't have symptoms. Health care providers can also confirm herpes infection by testing fluids taken from the sores. If you think you have herpes sores, get them checked out as soon as possible. Your local Planned Parenthood health center, many other health centers that test for sexually transmitted diseases, private health care providers, and health departments offer herpes tests and herpes treatments.