Some people get surgery to remove part or all of the colon. Your doctor may suggest this if your medicine isn't working, your symptoms get worse, or your ulcerative colitis leads to serious complications.
When you have an operation to remove your entire colon, the surgeon most often creates an opening, or stoma, in your belly wall. He attaches a bag there and brings the tip of your lower small intestine through the opening. Waste passes through it and collects in a pouch, which gets attached to the stoma. You'd have to wear the pouch all the time.