In some cases your care provider will know that there is a pretty high likelihood that you have Syphilis, even before you get test results back.
If you have been told by a sexual partner that they have Syphilis, or if you have a sore or a rash that looks suspicious, your provider will offer treatment at the same time as testing. This helps you to be cured more quickly and decrease the risk of passing it on to others.