Syphilis is highly contagious, therefore if you notice a chancre, you should get tested as soon as possible.