Surgery is the most common treatment for gallstone attacks.