arthritis or ligament sprain
Thanks for your query.
Pain in the foot experienced while walking usually could be due to small joint arthritis
or ligament sprain. Pain due to such problems do not appear in rest.
Do take Tab Motrin
400 mg twice a day for three days. This will for sure reduce the pain and provide you relief.
If the pain does not subside by three days do get an Xray of the feet done to identify the cause for the same.
Hope, I answered your query.
Wish you good health.