According to the health care specialists, The Hepatitis B shot acts as a safety net, reducing the risk of getting the disease from mom’s or family members who may not know they are infected with hepatitis B. A mom should also get the Hepatitis B vaccine during the pregnancy to protect the baby from getting infected.
Source: Google