Hello
I really appreciate your concern
Looking at your description this could be suggestive of STI, other infection or an
allergic reaction or may be
penile cancer (very rare)
I would like further information to help you better
relevant medical history like
diabetes or history of unprotected sex?
Are you having any kind of discharge
Since how long you have this problem
In my opinion you should keep it clean and apply antiseptic ointment
If it gets worsen or doesn't improve than you should consult your doctor for physical check up and detailed evaluation
Maintain good hygiene
use condoms during sex until it heals completely
Hope this answers your question
if you have any more doubts please feel free to write back to me, I will be happy to help you
Best wishes