Which STD causes sores on a mans penis?

Not how it works. Most sores on the penis are not in any way stds. Blisters can represent herpes. Syphilis is one big round nickel sized greenish pustular sore. Most sores on the penis are caused by yeast infections or staph infections.
Several possibls. I can think of at least 4 off immediately(herpes, hpv, syphilis and chancroid) .There are probably others.If this is your concern i would have the issue evaluated and proper testing done.