Getting out of bed shortly after surgery may help decrease the risk of blood clots in the legs.