Accumulation of excess fat in the liver is known as fatty liver. Lifestyle, food habits, excess weight etc. are likely to cause this.
People with fatty liver should focus on lifestyle changes such as reducing high sugar and high fat content in the diet, eating a balanced diet such as vegetables, fruits, adequate protein, and regular physical exercise.
However, the diet may vary depending on the individual's health condition. So it is better to formulate a diet with the advice of a doctor or a dietitian.