Surgery to remove the gallbladder is the most common way to treat symptomatic gallstones. The surgery is called cholecystectomy. The liver will still produce bile and it will empty it directly into the small intestines. This may complicate the digestion of fats. Ask your health care provider about changes to your diet after surgery.