Thanks for your query.Based on the facts that you have posted it appears that you have chronic fungal infection
of the foreskin.
Please check your blood sugar levels to rule out diabetes
Please consult qualified Urologist
for clinical evaluation and further treatment.
You may need to undergo circumcision
It will help to solve your problem permanently.