Sore on both sides of penis frenulum?

Hey!

Last week I noticed a small papercut like cut on the right side of the frenulum on my penis which was really hard to see and I only noticed it due to a tiny bit of pain. This seemed to develop into a bit of a sore and another sore seems to have developed on the left side of my frenulum which I'm unsure if this is just from irritation as I was trying to stop the left one from getting infected.

Has anyone experienced anything similar at all? I'm just unsure as to what could have caused this?