You've had painful attacks caused by gallstones. To treat the problem, your healthcare provider wants to remove your gallbladder. This surgery is called cholecystectomy.