It could be fungal infection
. As a general precautionary measure-
1) don't wear ill fitted occlusive shoes.
2)wear cotton socks and a comfortable foot wear.
3)Always dry your feet and dust it with antifungal powder prior to wearing foot wear.
Consult your dermatologist
so that a confirmed diagnosis can be made and further treatment can be planned. Take care.