Pancreatitis is inflammation of the pancreas. In severe cases, the pancreas may become permanently damaged. Surgery can help slow or prevent additional damage, as well as provide pain relief.