The abdominal pain and infection brought on by gallstones can be treated by having the gallbladder removed. Additionally, it can halt the recurrence of gallstones.