Can a chancre be painful?

Can you answer this question?