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