Make lifestyle changes such as losing weight, not drinking any alcohol, quitting smoking, and taking vitamin D supplements. taking statins has been shown to decrease the risk of developing liver cancer.Avoid activities that increase the risk of exposure to the hepatitis B virus (HBV) and hepatitis C virus (HCV).