Blood tests. Blood tests can confirm the diagnosis of HIV or later stages of syphilis.
Urine samples. Some STIs can be confirmed with a urine sample.
Fluid samples. If you have open genital sores, your doctor may test fluid and samples from the sores to diagnose the type of infection