The Whipple procedure, which is also called a pancreaticoduodenectomy, is the main surgical treatment for pancreatic cancer that spreads to the head of the organ.