The most common treatment for symptomatic gallstones is a surgical procedure called cholecystectomy, which involves removing the gallbladder. In some cases, medication may be used to dissolve gallstones.