A safe and effective vaccine is available for hepatitis B, but there is none for hepatitis C. The hepatitis B vaccine is a series of three injections. The first one is given to infants soon after birth, but adults can also take this vaccination course to protect themselves from hepatitis B.