You may have a case of balanitis, inflammation of the penile head.
This condition has many possible causes, among which is a chemical irritation due to used soaps, or it can result from unappropriated hygiene.
It's good to check you sugar blood levels, too.