Hello,
Steroids are not prescribed
for fungal infection because they can exacerbate the condition.
For fungal infection you need topical and oral antifungals. Most cases of fungal infections respond to over-the-counter products, which contain any of several basic ingredients: miconazole, tolnaftate, terbinafine,ketaconazole and clotrimazole. You can consult a pharmacist and get any cream or lotion containing these ingredients.
I hope it helps. Take care and regards.