When I first get out of bed my feet are so sore, after walking a little while the pain goes away. Also in the past my feet an whole body would ache than go away.
This is usually due to electrolyte imbalance. This also occur when you wear joggers and after jogging wash your feet immediately. Put your feet in semi hot water with a tablespoon salt in small container. This will relieve your pain.