Several conditions can lead to acute or chronic pancreatitis.