Pancreatitis after ercp usually takes about 1 to 2 weeks to recover after effective treatment. The ercp is an invasive procedure that can cause pancreatitis, i.e. medically induced pancreatitis. After the occurrence of pancreatitis, patients need to fasting water, gastrointestinal decompression treatment, at the same time, the infusion of drugs to inhibit pancreatic secretion, acid-suppressing drugs and other related treatments, after 1 to 2 weeks, the patient’s condition of pancreatitis will be improved. After the recovery of pancreatitis after ercp surgery, patients need to pay attention to diet, avoid overeating, avoid greasy spicy stimulating food, avoid high fat and high cholesterol food, avoid high salt diet, eat more vitamin-rich fresh vegetables and fruits, drink more water. If there is any discomfort, go to the hospital in time, do not be careless, so as not to delay the treatment.