It can be a fungal infection
Thanks for writing your query.
It will be helpful if you give more information on :-
> whether the rash is associated with itching.
> are you diabetic?
After reading your post, it seems that you might be having fungal infection of the skin.
You should apply locally skin cream containing steroid like betamethasone
and antifungal medication like miconazole
along with an antibiotic like gentamycin
Oral antihistamine like Fexofenadine
120 mg once a day will help in controlling itching, if present.
Also maintain good local hygiene.
I hope this is helpful to you.
If you have any further query, I will be happy to help.