The type of shoes you wear can either worsen or help ease your back pain. If you want to improve on the shoes you currently have, then seek out those comfortable gel-filled inserts for the insole to add more padding. Shoes with good sole and insole padding and are comfortable to wear, are a good start to ease your back pain or to avoid them.
You also want to wear comfortable low-heeled shoes. The rule of thumb is to avoid wearing shoes with heels over one inch. Wearing high-heeled shoes shifts the center of gravity, causing you to stand on your toes and walk in an unnatural gait. This results in negative impact on your legs and ankles, with the potential of causing back pain.
Comfortable, low-heeled shoes will help you stand and walk more naturally, which can minimize the potential for back pain going forward.
The following infographic is from our friends at Walsh Brothers Shoes. Please check them out at https://www.walshbrothersshoes.ie. I believe you will find the graphic below very informative: