Hi, Welcome to HealthcareMagic!
It seems that you are having tinea cruris
(a fungal infection
around your groins), which is a very common condition. Apply Onabet cream twice a day & keep the area clean and dry. If no improvement in a reasonable period of time (like 1 week), please consult a dermatologist
for further management.