Single ridge of penis foreskin red and swollen

Can someone tell me if this might be herpes? Its not painful to touch but my foreskin is burning . I dont know if this is herpes, I was masturbating too hard, or if this is something else. At one point the foreskin on either side was inflamed, but this ridge got red and swollen today/last night

image

image

image

image

does it hurt when you pee?

There’s a mild amount of pain, but that’s mostly from the tip of my penis .

There is also a red ring almost forming around the neck of my penis

post a better pictures

Maybe I have a similar problem of the foreskin, that maybe It’s related to trauma, but I’m not sure, cause your pics are not so clear.