It could be a function infection
Take anti fungal medication(tablet) and a topical antifungal cream.
Keep the area dry. U can use candid Dusting powder to keep it dry.
Health Tips
do not scratch, trim your nails completely, and wash your clothes separately with hot water.