The treatment for pancreatitis depends on its severity and underlying causes. Mild cases can be managed with pain medications and dietary changes while more severe cases may require hospitalization for intravenous fluids and other supportive measures.