Syphilis Treatment. Unlike the diagnosis, treatment is fairly straightforward. During the primary, secondary, and early latent phases of syphilis, a single injection of penicillin cures the disease. People who are allergic to penicillin (and not pregnant) may be given oral antibiotics (such as doxycycline, tetracycline, or erythromycin) for 2 weeks.