Thanks for your query.Based on the facts that you have posted it appears that you have white layer of sticky material around glans .This is dried layer of mucus secreted by glans penis
what is called as Smegma .
Please ensure to wash and clean your genitals with warm water twice daily and apply topical antibiotic
ointment like Neosporin
Please take broad spectrum antibiotics along with anti inflammatory medication like Diclofenac
twice daily .
It should get cured within a week.