What did the results say exactly?
It could be from an old infection, or it could just be a false positive. Unfortunately, no test is 100% accurate.
Aj
Best to follow up with your Dr. If you tested positive then it could be an incorrect test. If you ever had syphilis then it is possible to show up in your blood for a while after treatment.