pancreas causing liver inflammation. how to keep my liver from dying?

my pancreas issues keep causing my liver inflammation and it is making my liver worse. I assume there is no way to stop this and I will eventually have cirrhosis? since I can't stop the pancreas issues.