At this time, special attention should be paid to diet: first of all, low fat should be achieved, and secondly, food intake should be controlled, and one meal should not be full.
Edible diets include: porridge, rice flour, low-fat milk, soft rice and steamed bread. You can eat less fruit, but you can't eat too sweet and sour fruit. Generally speaking, it takes a month to get a full rest for the pancreas and stomach, and then slowly return to a normal diet.
I hope my answer is helpful to you.