It is easiest to diagnose herpes when the rash is present. A doctor will often be able to tell what it is, simply by looking at the rash. They may also take a swab from the area- results usually come back in a few days. Occasionally, a doctor may decide to do a blood test- this can show up past infection even if there is no rash, but it’s not a very reliable test.