Hello and thanks for your query.
I shall make an effort to provide you with good professional recommendations specific to your questions.
Based on the information you have provided it appears to be
Balanitis, which is an inflammation of the
glans (the head) of the penis.
Posthitis is inflammation of the foreskin. The foreskin or prepuce is the loose skin that covers the head of the penis if the male has not been circumcised.
The inflammation can be due to infection, harsh soaps, or failure to properly rinse soap off while bathing, physical trauma.
I advice you to see doctor for examination and find the cause as treatment depends on it.
Meanwhile maintain good hygiene and use mild soap.
Yet again, I duly appreciate your query to me, I do hope that you have found something useful to help you and I shall be glad to answer any further apprehensions.
Sincerely,