From prescription of dermatologist
it appears that you have got fungal infection
I think if it is fungal infection then go for anti fungal tablets for one month which will give you relief earlier.You ask to your dermatologist and take advise.
You can also apply anti fungal powder.
Do not wear undergarment during night and use cotton garments and under garment.
soap to keep your that part smooth.