Syphilis is not infectious once it is treated adequately.
However, you must have regular follow-up blood tests for up to 2 years to confirm that the infection has been cured.
Even after cure, syphilis blood tests remain positive for life. This is called a “serological scar”. This is why it is always important to tell your future doctor you have had syphilis and been treated in the past.