For hepatitis B, doctors recommend eating a balanced diet with plenty of carbohydrates, fruits, and vegetables to help the liver function properly. Hepatitis B is a viral infection that affects a ...