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 it is contact dermatitis,then oral antihistaminics and steroids are useful.
Treatment for both is entirely different.I feel that you should consult a dermatologist and get it assessed so that specific treatment(antifungals or corticosteroids) can be started.
Hope it helps.Take care and pls do keep me posted if you have any additional queries.Kind regards.