Syphilis is treated with antibiotics. If it is caught and treated early, long-term problems can be prevented. The length of treatment depends on how long a person has had the disease.