Your doctor might recommend an ERCP to assess and treat your symptoms and conditions. Your symptoms might include jaundice (yellowish skin and eyes) and upper-abdominal pain. It is also used if the doctor suspects the presence of bile duct stones, tumours in the bile duct, liver or pancreas, and if the bile duct or the pancreatic duct is blocked. An ERCP is also used before and after gall bladder surgery to plan and guide the surgical procedure.