Summarize this article in one sentence.
It's important to know that routine STD tests do not test for herpes, so you will need to specifically ask for a herpes test. If you're currently experiencing an outbreak, the doctor can conduct a swab test, where a sterile swab is dabbed gently on the sore and sent to a lab for testing. Your doctor can use the culture to test for herpes. Your initial tests might include lab and imaging tests.  If you are not having an outbreak, you will need a blood test. However this test is best administered 3-4 months after exposure to herpes, since it tests for antibodies (your immune system's response to infection).   Usually the diagnosis is through a Polymerase Chain Reaction (PCR) based swab test. A synthetic swab is rubbed vigorously over abnormal skin, placed in a liquid and sent to the lab. Then, using specialized laboratory techniques, the sample is amplified many times to see if the patient has herpes. In some cases you doctor could do a herpes type-specific antibody test. This test uses an antibody to specifically target and determine whether the infection is HSV-1 or HSV-2. 50% of infected individuals usually test positive within 3 weeks after infection. If you've been infected for more than 16 weeks, this test will almost always prove positive. Your doctor may also consider a PCR swab of lesion test. A sterile swab is used to vigorously swab the base of the lesion— applying enough pressure to collect epithelial cells without causing bleeding—and collect vesicular fluid. This is then sent to the lab for diagnosis. If you test positive for herpes, your doctor will prescribe medications help to suppress the virus and its symptoms. Medication also reduces the risk of spreading the herpes simplex virus to others. Start treatment immediately or as soon as possible and take them according to your doctor's directions. Antiviral herpes medications include:  Acyclovir. This is a first-line drug for genital lesions or frequent lesions on the labia from herpes. It can also be used topically to treat inflammation on eyes infected with herpes. Acyclovir is considered fairly safe in pregnant and nursing women and it's also used for pediatric cases. Penciclovir. This is a cream that is used as a first-line medication to treat oral lesions topically. Valacyclovir. This is a first-line medication used to treat primary and recurrent genital herpes. Foscarnet. This is considered a second-line medication and is used when there is a resistance to the preferred first-line medication acyclovir. This can happen in immunocompromised individuals suffering from a systemic herpes infection. Read up on herpes and learn about the virus and the infection. The more you understand about what is going on in your body, the easier it will be to cope and deal with flare-ups and breakouts. Herpes is well-documented and highly-researched. There is ongoing research in this area and new treatments may on the way. Your doctor will also have many recommendations and can keep you up to date on the latest medications available to you. Take time to explain your condition to your sexual partners before you engage in behaviour that could transmit herpes -- this talk can be combined with a sexual health talk. Take precautionary measures to avoid further spreading the virus. These may come from lifestyle changes. For example, learn to recognise early signs of an outbreak, and consider exploring sexual practices that will not involve your outbreak site during these times. Use a condom in-between outbreaks. If you touch a herpes sore, particularly when you are newly diagnosed, wash your hands with soap and water - your body will not possess antibodies for a few months and you could accidentally spread it to your eyes or mouth. If you have an active cold sore on your mouth, don't kiss anyone.

Summary:
Visit your doctor or clinic for tests. Treat your symptoms with antiviral herpes medications. Manage your herpes by taking control of your situation. Avoid spreading the infection.