From your history it seems that you are having phimosis
giving you this problem.
Due to not be able to retract the fore skin there is collection of smegma
, not washed properly.
This collection of smegma will give infection and passing white discharge.
Consult surgeon and get examined and go for Circumcision
Meanwhile try to keep part clean by washing smegma collection.
Ok and take care.