If the cirrhosis is in the compensated period when dyspepsia, the main purpose is to delay the liver function loss; if in the decompensated period, it is necessary to improve the liver function. 1. Compensated period: Cirrhosis in this period is usually mild or asymptomatic, usually resting and taking some medicines to help digestion (such as mosapride, domperidone, etc.) can relieve the symptoms of indigestion, and ursodeoxycholic acid and other medicines can also be used to protect liver cells. 2. Dyspareunia: the symptoms of cirrhosis in this period are more obvious, with dyspepsia caused by hepatic decompensation, loss of appetite, nausea, diarrhea and abdominal distension, anorexia, nutritional absorption disorders, and intestinal bacterial dysbiosis, etc. The patients should maintain enteral nutrition and protect the liver. Enteral nutrition should be maintained, hepatocytes should be protected, easy-to-digest foods should be consumed, and drugs such as pancreatic enzymes, ursodeoxycholic acid, adenosylmethionine and silymarin should be taken. Complications such as variceal bleeding and peptic ulcers need to be prevented. It is recommended to treat cirrhosis in time when it is detected, and to use medications under the guidance of a doctor to try to slow down the development of cirrhosis.