This is a fungal infection. It can occur due to sweat accumulation and not maintaining proper hygiene
I can suggest a antifungal cream and some oral medicines
Try applying oinment Candid-B over it twice daily
Next Steps
consult for oral medication
Health Tips
avoid jeans and tight clothing..take frequent baths to wash away sweat..don't use too much soap over the infection