This is Dr. David
I am sorry you are having foot pain when you walk.
how old are you? are you male or female?
often times pain on the bottom of the foot can be from something called plantar fasciitis inflammation of the fascia between the muscles on the soles of the foot.
this pain can be quite painful and can cause you not to be able to walk.
icing the foot, stretching the foot and avoid going barefoot in the home and using indoor shoes can help support the feet and can help calm down this inflammation.
other potential causes include arthritis or tendonitis or bursitis
you should see a doctor face to face about this foot pain and get a foot exam and foot xray to rule out fractures or microfractures in the bones.
your doctor can also give you oral steroids or anti-inflammatories which you can use as well to help calm down inflammation in the foot.
your doctor can also prescribe physical therapy and stretching exercises for you to help you stretch the muscles on the sole of your foot to help decrease inflammation and pain.
do you have a doctor or podiatrist you can see about your foot pain?