Diagnosed with cancer on my liver. Doctors said I'm incurable and I'm terrified

After MRI and CT scan, I was diagnosed yesterday with tumours on my liver which has spread from another area but not sure where..  Having liver biopsy in a week but Doctor did say incurable and I am terrified.