Insoles can reduce foot pain by better supporting your heels and arches. They can also ease the pressure on your shins and calves by “changing your foot biomechanics to offload from certain tissues”.