If the bowed legs are not since birth, it will be sue to osteoarthritis of knee, a problem of joint due to ageing leading to misalignment. Arches in the foot are good decision.
Next Steps
Go to a physiotherapist.. Ultrasonic therapy +IFT +Heating therapy +some strengthening /stretching exercises will be helpful for sure. You will get the relief from pain.
Health Tips
At home.. Rest +hot water fomentation +pain killer gel +no long standing /walking /stair climbing+no cold exposure +use knee cap.