Sexually transmitted diseases can be caused by viruses, bacteria, protozoans, and even animals. Bacterial vaginosis and chancroid are both infections caused by bacteria, which means that they can be treated with antibiotics. While bacterial vaginosis only affects people with vaginas, chancroid disproportionately affects people with penises. You can seek diagnosis and treatment for bacterial vaginosis and chancroid at a Planned Parenthood health center, as well as health clinics, private health-care providers, and health departments.