What is risk to syphilis if doxacycline 100 mg 2 times for 14 days taken after sex without any test?

Syphylis. That is a therapy for syphylis but i dont understand if you are asking if you can develop syphylis after treating it even though you did not have it to begin with.