Hello,
Welcome to the ehealthforum and I am really glad to help you out.
Red, itchy flaky areas can be due to seborrheic dermatitis or the second possibility is of eczema due to an allergic reaction. You can use ketoconazole 2% shampoo/hydrocortisone on the rash and also wear cotton clothes. It will be better to use mild soaps like Dove as well.
If the symptoms persist then get an evaluation done from a dermatologist.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care.