hi the condition what you are having can be because of
diabetes, (infection of the penis and skin over it).
it can be treated with antibiotics and local application of ointment,
if its recurring or disturbing you circumcision( surgery for removing the skin over the penis) is the treatment.
consult a Diabetologist and decide about the treatment