Welcome to HealthcareMagic forum.
Having a sore on your penis specially if it is a long standing one and non healing type definitely points towards an STD
. You need to get your sore examined to pinpoint the diagnosis and to have an early and appropriate treatment.
Dr. Rakhi Tayal