Preventing chancres primarily involves practicing safe sex and reducing the risk of STI transmission. Using condoms consistently and correctly, having regular STI screenings, and maintaining a mutually monogamous relationship with an uninfected partner can significantly reduce the risk. Education on the importance of early detection and treatment of STIs is also vital.