You're having what is called plantar fascitis, a condition in which the fascia of the foot get inflamed and causes pain
. It could also be due to e weakening of the heal bones or a raised uric acid level. I would suggest that you get your vitamin d and uric acid done fasting to know the levels. In the meantime start to wear soft sole footwear and do contrast bath both feet ie dip both feet in hot water for 3 mins and then normal water for 1 min-continue with hot and cold bath alternatively for upto 20 mins 3 times a day. Revert back with blood test reports.