A colostomy connects the colon to the abdominal wall and an opening called a stoma is formed. It is a surgical procedure that is sometimes used if the colon is unable to function because of cancer or diseases like ulcerative colitis. If you have a colostomy, you will need to make lifestyle changes such as eating a healthy diet, getting used to wearing the colostomy supplies, and preventing infection. Some people may choose colostomy irrigation rather than a bag to remove waste. Follow the links below to find WebMD's comprehensive coverage about how a colostomy works, why it is sometimes needed, how to care for a colostomy, and much more.