Surgery for cancer depends on where the cancer is located. In most cases, the surgeon removes the tumor and some tissue around it. Removing nearby tissue may help prevent the tumor from coming back. The surgeon may also remove some nearby lymph nodes.