Mild cases of acute pancreatitis may resolve on its own without treatment after a few days of discomfort. However, most cases of acute pancreatitis will require a stay in the hospital of at least a few days where you do not eat and receive intravenous fluids. Depending on the severity of the acute pancreatitis and if there are complications, you could take weeks to recover.
Chronic pancreatitis never goes away and often worsens over time due to the deterioration of your pancreatic tissue. Steps can be taken to alleviate and treat symptoms, but there is not a high rate of success with totally alleviating chronic pancreatitis symptoms.