is an ideal site for fungi to multiply.Also wear cotton underwears and change them twice a day. and do not share other people’s towels.Application of local antifungal cream(terbinafine, clotrimazole, econazole, ketoconazole, miconazole) and oral antifungal drugs are the mainstay of treatment.
If the rash persists then it will be best to get it evaluated from a dermatologist.
I hope that helps.Take care and pls do keep me posted on how you are doing or if you have any additional queries.Kind regards.