Welcome to HCM,
As you get recurrent attack of Prostatis and having erectile dysfunction
you might have diabetes
so go for blood sugar estimation.
As you got lesion on scrotum
and inner thigh there is possibility of having fungal infection
Apply anti fungal cream and take oral Flucanozole 150 mg once in a week for 4 weeks after consulting your doctor.
Keep local hygiene clean and healthy.
Ok and bye.