It can be due to contact dermatitis, sweat dermatitis, eczema or fungal infection. You can apply some calamine lotion at the rash as it will help in soothing the skin. You can take some OTC oral antihistamine medications like Benadryl or Claritin and see if it helps.
For mild-moderate symptoms a weak steroid may be used whilst more severe cases require a higher-potency steroid. But they are available under prescription and should be taken only after consulting 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 and please do keep me posted on how you are doing.