Welcome to healthcare magic forum
Thank you for your query
i understand your concern regarding skin problem.
it look like you have fungal infection
and secondary bacterial infection.
you need to consult dermatologist
for proper treatment.
it is difficult to reach diagnosis from your description only.
you can apply topical anti fungal powder and antibiotic cream.
In severe case you need to take oral medicine also.
keep the affected area clean and dry.
wear loose and cotton cloths.
I hope I answered your query