The PCR test looks for fragments of the virus's DNA in a sample taken from cells or fluids from a genital or urinary tract sore. This is a commonly used test for diagnosing genital herpes and is very accurate. Genital herpes is usually diagnosed through an exam by a medical professional and a blood test. If you suspect that you have genital herpes (which is mainly caused by HSV), you can get an antibody test.
An HSV test is usually done as a swab test, blood test, or lumbar puncture. The type of test you get will depend on your symptoms and health history. Generally, STI testing isn't part of your regular gynecological checkup or exam, but you should request it. So, if you're wondering: “How do you get tested for herpes? , you can get tested for genital herpes to help determine if you are infected.