If the surgeon explores the bile duct, he or she may insert a drain into it that goes to the outside of the body on the side of the abdomen. This helps the duct heal. A health care provider will take the drain out several days or weeks later.