It could be a fungus- you can look at over the counter medications to treat it, just make sure they have these ingredients: miconazole, tolnaftate, terbinafine,ketaconazole and clotrimazole.
If they don't seem to respond to the cream, you should probably just get them checked out by a dermatologist for your own peace of mind, at the least.
Hope that helps!