There could be multiple causes of having rash in groins, genital area or inner side of thighs. It could be a fungal infection
, seborrheic dermatitis
, psoriasis etc. Treatment can only be suggested after having a look at the lesions. For the same either send pics of the involved area or visit a dermatologist
near by. Take care.