It seems like an intertrigo
that might have developed secondary infection. To treat the same
Wear loose cotton clothes
Keep the area well ventilated
Do warm saline compresses twice in a day and apply steroid antibiotic and antifungal combination. You may mix fusidic acid
in clotrimazole betamethasone
combination and apply.
Keep the area dry as much as possible.
Hope that answers your query.