Surgery is the best treatment for nonsmall cell lung cancers that have not spread beyond the lungs. However, surgery is unlikely to be helpful if the cancer has spread beyond the lungs. If the cancer is too close to very large airways (the trachea or its two main branches), or if the person has another potentially life-threatening disorder.