For the optimal treatment of common bile duct (CBD) stones, several facts should be considered before or during endoscopic retrograde cholangiopancreatography (ERCP). Prophylactic antibiotics is necessary for the patients with high risk of post ERCP cholangitis and cessation of anticoagulant should be considered for prevention of complications associated with post ERCP bleeding. Furthermore, endoscopic papillary balloon dilatation can be replaced with endoscopic sphincterotomy in patients with bleeding tendency such as chronic kidney disease, liver cirrhosis, thrombocytopenia etc. Prophylactic pancreatic duct stent can be helpful in reducing post ERCP pancreatitis (PEP) but caution is required as excessive attempts for selective cannulation into pancreatic duct for stent insertion can cause PEP. If gallbladder stone is present and treatment for CBD stones has been completed, prophylactic cholecystectomy should be performed selectively after consideration of patient’s condition.