You can still get the hepatitis B vaccine if you are pregnant after getting two doses. Hepatitis B vaccination is designed to prevent infection with the hepatitis B virus. There is generally no research evidence that hepatitis B vaccination during pregnancy affects the fetus. Hepatitis B vaccination is also available during pregnancy. For pregnant women infected with viral hepatitis B, a single dose of Hepatitis B High-Value Immunoglobulin in the 7th, 8th and 9th month of pregnancy can help reduce the probability of the fetus being infected with the Hepatitis B virus. Pregnant women should pay attention to regular obstetric checkups during pregnancy, especially pay attention to doing every detector checkup, and deal with any problems at any time. If there is any discomfort such as abdominal pain or abnormal vaginal bleeding at any time during pregnancy, it is necessary to consult a doctor as soon as possible, improve the examination and standardize the treatment under the guidance of a professional physician.