Welcome to HealthcareMagic. Yes it can be due to fungal infection
like ringworm. Treatmnet consists of topical antifungal
cream which may contain miconazole, tolnaftate, terbinafine,ketaconazole and clotrimazole
Some of them are Lamisil, Monistat derm, Mycelex, and Nizoral. Restrict wearing any undergarments at night and as far as possible keep the area dry. Also use Abzorb powder on the area. If the symptoms persist then you may need oral antifungal
drugs( like AF( 150 mg) ).
Hope it helps you. Regards.