Hi
This could be scrotal dermatitis. Multiple trigger factors are there like sweating, occlusion, hot and humid environment, clothing allergens, self medication etc.
Next Steps
consult a dermatologist.
Health Tips
wear loose cotton clothes. apply absorbent dusting powder to keep area dry.
stop applying any medication if you are applying.
use mild soap.