Genital ulcers are usually caused by sexually transmitted diseases such as herpes, syphilis, and chancroid (in which bacteria cause skin ulcers to form, usually on the genitals). They may also be caused by an injury or a reaction to a skin care product.