cracked,rashy and smelly painful groins what can it be

i have cracked skin in my groin area which has a chaif like rash and if not washed everyday starts to smell like rotting flesh

it could be due to infection or simply due to excessive sweating but cleaning twice daily with soap and water or just plain water works really good