Thanks for query,
It seems that your son might have phimosis
Due to phymosis foreskin is not averted and that part remains uncleaned as smegma
is deposited there causing local infection.
Clean properly foreskin underneath with plain water daily while giving bath and then apply Fucid cream.
ok and bye.