The document discusses endoscopic procedures for managing biliary and pancreatic diseases, emphasizing the role of ERCP (Endoscopic Retrograde Cholangiopancreatography) as a therapeutic method. It details indications for ERCP, various complications, and specific cases involving patients with biliary stones. Additionally, it evaluates techniques for stone extraction and the importance of early biliary drainage in acute conditions like cholangitis and biliary pancreatitis.