If you are pregnant, be sure to get tested for hepatitis B before your baby is born. Babies can be infected during delivery.