Hi the infection over the foreskin can be due to candidiasis
which is a fungal infection
.most of the times it is associated woth cracks on the forwskin.
It can be presented as sodden appearance and itchy minute bumps over the foreskin.which on rubbing causes erythema
It can be cured by atarax 25 mg at night.azithromycin
500 mg daily once for one week and use of flucanazole 150 mg weekly once and application of nizral ointment over the effected area