irritated skin with red spots on the foreskin of the penis (has it lasted more than 9 months)

image

I had sex a few months ago and the condom broke, after that I had a swelling in the penis, then small red balls appeared (which did not burst or pus out), I put neomycin ointment and during the day it improved but after bathing or after masturbation penis gets irritated and all red with little red veins showing!