Walking after surgery helps you to expand your lungs, which can prevent pneumonia. It helps to rebuild your strength and prevents the loss of muscle tone. Walking can prevent blood clots from forming in the veins of the legs and pelvis, which could travel to the lungs and lead to death.