Bow-legs are a normal finding until around 18 months, and can correct as the child grows.
After early childhood, the child should be evaluated for a medical condition such as vitamin d deficiency
the problem is corrected surgically. The treatment requires fracturing and re-alignment of the bones. I have a patient whose bow-legs were corrected in adulthood at the time of knee teplacement surgery