How long STDs last depends on the specific type of infection. In some cases, although symptoms may go away without treatment, the patient is still infected and can pass the STD to a partner during unprotected sexual activity. In patients with trichomoniasis, chlamydia, or gonorrhea, treatment with antibiotics can dramatically shorten the duration of symptoms. In addition, treatment for chlamydia, gonorrhea and syphilis will avoid potential long-term complications. Viral infections, such as genital warts, genital herpes and HIV cannot be cured. However, they can be treated with medications.