Notwithstanding that I often like to take the entire shower with the foreskin retracted and the glans exposed, it is sufficient:
1) Retract the skin all the way in order to uncover the glans and have a complete cleansing.
2) Soap the glans and the entire inner foreskin (the foreskin is in fact made up of two layers, the external insensitive one always in contact with the underwear and the internal one in contact with the glans and quite sensitive). The inner foreskin among other things, as it is almost always hidden, is the part, together with the glans, more subject to the accumulation of urine and smegma as well as to the emission of bad smell.
3) Rinse immediately with water, leaving absolutely no soap or foam residues.
4) Return the foreskin to cover the glans in its original position.
As for the bad smell, at least in my opinion, in addition to washing more frequently (or using specific products) and urinating with the foreskin retracted, there is only one solution. If possible, always leave the glans uncovered in the underwear.