Hello,
First of all you need to confirm whether this is a fungal infection. I suggest you to get an evaluation done from a dermatologist and get a KOH examination of the skin scrapings done to rule out any fungal infection. If it is a fungal infection then you may need topical and oral antifungals. Also keep the area as dry as possible.
My sincere advice would be to consult a dermatologist to get the diagnosis confirmed. 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 dermatologist. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.
Thank you so much I will be seeing a doctor soon