It seems that you developed candidal infection in groin area.. Candidal intertrigo
It is caused by Candida albicans.
Severe perspiration,soap,excessive water contact..may exacerbate the condition.
DM,HIV and other immunocompromised conditions should be ruled out.
Antifungal tablets like ketoconazole
for 2 to 3 weeks may be taken.
Antifungal cream at night and antifungal powder in day time would improve the lesions.
If there is itching, take antihistaminics.
Never use steroid
locally and orally, as it may exacerbate the disease.
bath. ..avoid soap, clean the area and keep it dry.
I hope you got my answer.
Dr. Ilyas Patel MD