The primary treatment for syphilis is antibiotic therapy. Penicillin, particularly benzathine penicillin G, is the drug of choice for all stages of syphilis. For those allergic to penicillin, alternative antibiotics such as doxycycline or azithromycin may be used, although penicillin is preferred due to its efficacy.