Orthotics are devices that fit into the shoes or sneakers that correct the positional deficiency of the foot, and provide the proper position that footwear itself cannot provide. All orthotics though, are not created equally. Custom made orthotics are fabricated from an impression of the foot in a very specific position. For some who's condition is not yet severe, off the shelf orthotics may adequately address the problem. Beware however of claims of "instant custom made" orthotics such as seen in some large stores. These orthotics are generally very overpriced for what they really are.
A quality custom made orthotic will change the mechanical function of the foot. It works dynamically during weight bearing activities like walking, running and standing. A good orthotic can prevent pain and deformities such as bunions, plantar fasciitis, corns and hammertoes. They may even prevent surgery!
Looking for a long term solution for foot pain? Look into a good quality custom made orthotic.