Thanks for your query.Based on the facts that you have posted it appears that you have
developed Ballanitis (Infection of the glans penis
) due to rough and vigorous handling of your penis while masturbating.
Please take broad spectrum antibiotics along with anti inflammatory medication like Diclofenac
twice daily along with topical antibiotic
for application over glans penis .
Get the prescription of medicines from your family Physician.
Ensure to clean your genitals with warm water twice daily.