Hello,
Thanks for posting your query at DoctorSpring.com. I can understand your concern.
The test used for confirming syphilis like fta - abs remains positive for life even if the previous infection has been adequately treated.
Hence you need to find out what was the test done where you tested positive for syphilis.
If you are allergic to penicillin, then the infection can be treated with other antibiotics, however you need to visit your doctor for the same.
http://emedicine.medscape.com/article/229461-treatment#2
This article is for your reference.
Hope this helps, please feel free to discuss further.
Take care