What is the cause of redness and pitting of the glans of the foreskin and how can it be treated?

Glansitis often leads to redness and swelling of the glans with spotting and bleeding, which should be treated with cleansing of the vulva, topical iodophor or antibacterial ointment and, if necessary, oral antibiotics.