Hi,
It seems that you are having candidal intertrigo with secondary bacterial infection.
Take antifungal tablet like
ketoconazole or
itraconazole.
Take a short course of antibiotics with anti inflammatory drugs.
Apply antifungal cream like
clotrimazole or miconazole on red patches.
Apply antibiotic ointment like mupirocin oint. on infected lesion.
But , remove the pus and clean the lesion with antiseptic liquid.
Keep the affected area dry.
Have blood tests to rule out DM or other immunocompromised condition.
Improve immunity by taking immunobusters.
Improve hygiene.
Have heathy food and good sleep.
Avoid worries and tension.
I hope you might be alright., Still, you
consult dermatologist.
Wishing you early recovery.
Dr. Ilyas Patel MD