The vaccine helps your baby make antibodies, which protect him or her from hepatitis B. These antibodies will help fight off the virus if your child ever gets exposed to hepatitis B.