Hepatitis B vaccine can prevent hepatitis B. Hepatitis B is a liver disease that can cause mild illness lasting a few weeks, or it can lead to a serious, lifelong illness.