An ostomy is surgery to make the opening for a colostomy or an ileostomy.