Welcome to HCM and thanks for your query.
This is most likely fungal infection
of the groin, due to persistent contact between two surfaces.
This can be got rid of by
1. Keeping the area clean and dry.
2. Weight reduction.
3. Anti-fungal creams.
Wishing you good health---