People with a chronic hepatitis B should also talk to their doctor about getting vaccinated against hepatitis A, another virus which attacks the liver and can be especially harmful for someone with chronic hepatitis B.