The investigators propose a randomized controlled study in patients undergoing lung resection for cancer to compare the impact of multimodal intervention composed of exercise, nutritional supplement and psychological well-being on functional exercise capacity. One group (rehabilitation group) will receive the multimodal intervention after surgery for 8 weeks; the other will start 4 weeks before surgery and continue for 8 weeks postop (prehabilitation group). In this case, both groups will be exposed to the program, which will be available to both groups postoperatively. One of the two groups will start this program 4 weeks before surgery and continue for 8 weeks postoperatively, and the other will start once they leave the hospital and continue for 8 weeks postoperatively.