Prevention of liver cancer includes: vaccination against viral hepatitis B, antiviral treatment, prohibition of smoking and alcohol, change of bad dietary habits, and regular medical checkups. 1. Vaccination against viral hepatitis B: The measures to prevent hepatitis B mainly refer to the vaccination against viral hepatitis B. The vaccination against viral hepatitis B will reduce the incidence rate of hepatitis B and thus prevent liver cancer. It reduces the incidence of hepatitis B and thus prevents liver cancer. 2. Antiviral treatment: For patients with active stage of viral hepatitis B, giving antiviral treatment can prevent liver cancer. 3. Prohibition of smoking and drinking: long-term smoking and heavy drinking can lead to cirrhosis of the liver and increase the incidence of liver cancer, so prohibition of smoking and drinking can prevent liver cancer. 4. Changing bad dietary habits: mainly avoid eating moldy food for a long time, such as moldy peanuts, corn and so on. 5. Regular physical examination is mainly for the high-risk groups of liver cancer. The examination items include blood alpha-fetoprotein, Hepatitis B VI, liver ultrasound, or liver enhancement CT and other examinations. In China, the high-risk groups of liver cancer mainly include people with hepatitis B virus and/or hepatitis C virus infection, excessive alcohol consumption, non-alcoholic steatohepatitis, cirrhosis caused by other reasons, and people with a family history of liver cancer, especially males aged >40 years old. The prevention of liver cancer needs to be carried out in many aspects. If liver cancer is suspected or diagnosed, it is recommended to go to regular hospitals to evaluate the condition and follow the doctor’s instructions to avoid delaying the condition.