I believe the answer is: practice
To Be able to walk on his own, his body need to get used on sustaining the weight, and must be repeated over and over again to the point where the he could move the legs along with his body weight without losing any balance and fall over.