This means waste bypasses some portion of the intestine, as well as the rectum and anus.
In some cases, the rectum and anus are also removed.
Side effects from the surgery can be bothersome.

E+ / ericsphotography / Getty Images
However, they can be successfully managed, and patients with ostomies can live fulfilling lives.
This article explains ostomy surgery, rectal discharge, and ostomy odor and leaks.
It will also explain parastomal hernia and stoma blockage.
What Is Ostomy Surgery?
A colostomy is created when part of the large intestine is removed from the body.
The part of the rectum that is left is called the rectal stump.
The end of the remaining intestine is then connected to the abdomen through a surgically created stoma.
People who have a permanent stoma may choose to either have their rectum removed or keep it.
Those who have the potential to reverse their ostomy in the future may elect to keep their rectum.
The amount of rectum remaining will vary from person to person.
In many cases, this is a normal, expected occurrence, and there is nothing to worry about.
In the absence of stool, mucus passing through the rectum becomes more apparent.
Some gauze or a sanitary napkin worn in the undergarments may help catch unexpected leaks.
This registered nurse cares for and serves as a resource for ostomy patients.
Some tools for minimizing odors include using lavender oil in the bag and trying products designed for the purpose.
Leaking Ostomy Bag
To understand ostomy leaks, defining what constitutes a leak is essential.
It does not have to leak further and be in contact with the person’s clothing.
Skin irritation is a common complication.
It can be noticeable as a lump or other irregularity in the abdomen.
They can be harmless, but they can also cause strangulation of the intestine, which is an emergency.
Parastomal hernia is treated with surgery to strengthen the abdominal wall with mesh.
Risk factors include surgical technique of the original procedure and people with thick abdominus rectus muscle.
Summary
Colostomies and ileostomies are two types of ostomies.
The waste collects in a bag outside the body.
A colostomy is formed from the large intestine, while an ileostomy is formed from the small intestine.
Leaks, odors, blockages, and hernias are common complications of ostomy.
National Institute of Diabetes and Digestive and Kidney Diseases.Ostomy surgery of the bowel.
American Cancer Society.What is an ileostomy?
American Cancer Society.Types of colostomies and pouching systems.
2022;5(2):207-215. doi:10.31662/jmaj.2021-0187
Cancer Research UK.Coping with a colostomy after anal cancer.