u might have candidial infection or smegma collection.
u need to keep it very clean and dry .
apply antifungal cream twice a day
u need to take oral antifungal
better to consult dermatologist
for the same
if any of member in ur family has diabetes
,check ur sugar level.