Surgery can often cure long-term ulcerative colitis (UC), but it's not for everyone. Your doctor may suggest an operation if your UC is severe and you don't get enough help from other treatments, like medicines and changes in your diet. It could also be an option to help you prevent colon cancer.