Hepatitis is not necessarily a genetic disease, so it is not necessarily passed on to offspring, but hepatitis B virus and hepatitis C virus can be transmitted to the newborn through the mother carrying the virus. Therefore, if a person has hepatitis B, he should be treated with mother-to-child blockade during the perinatal period. Mother-to-child blockade is performed by giving the newborn an anti-hepatitis B immunoglobulin and hepatitis B vaccine, and the earlier the injection, the better, preferably within 2 hours after birth. If the injection cannot be guaranteed within 2 hours, it should be given within 24 hours. Hepatitis C can be cured before conceiving a baby, blocking mother-to-child transmission. Currently in China, the number of people infected with hepatitis B virus is decreasing year by year, especially the proportion of infants and adolescents is even lower, all because of the effect received from mother-to-child blockade treatment. Patients with hepatitis B should be actively given antiviral treatment when conditions permit.