A lung transplant may be an option for people with advanced cystic fibrosis. Other types of surgery may be recommended, depending on the specific complications.