 Hi, I'm Dr. Magnus Jaraj Mansard, Consultant Liver Transplant Surgeon for the Manipal Group of Hospitals. Liver cancer develops in a damaged liver. So the best way to prevent liver cancer is to avoid damage to the liver. This can be either by preventing hepatitis infection by vaccination or moderating in the alcohol consumption so that the liver doesn't become fatty and maintaining a healthy lifestyle so that the fat content in the liver is not excessive. There are reports saying that coffee is beneficial, eating broccoli or drinking carrot juice are beneficial but these are not scientifically proven. Same thing goes for processed food or aspartame that is sugar-free, tablet consumption that can cause liver cancer and these still remain unproven scientifically.