Hi Post ERCP pancreatitis happens in 2-5% of cases, which resolves in few days to weeks.
They would have put a stent to drain the biliary channel.
You should follow your doctor advice and go accordingly.
Don't worry this will subside in couple of days.
Next Steps
Feel free to ask any further quary
Health Tips
Take less oil in diet.
drink plenty of water/ fluids