ii dont know whats going on
(pics here https://patient.info/forums/discuss/i-have-a-sore-on-my-penis-for-2-weeks-straight-what-could-it-be--634638 )
I would rule out any STI if you haven't had sex in 6 months. I would go and see the GP who can put your mind at rest and hopefully give you a diagnosis that will be easy to treat hopefully.