Choledocholithotomy and T-tube drainage are the surgical methods to treat bile duct stones. The T tube is left after surgery to help drain bile.