An HIV test is done before having a baby. It is a routine screening program. Whether you are having a normal delivery or a cesarean section, you need to have an HIV test. The purpose of the HIV test is mainly to rule out whether the pregnant woman has HIV. One is to know the health condition of the pregnant woman. The second is to prepare for labor and delivery. If there is HIV infection, the pregnant woman needs to enter an isolated delivery room to prevent transmission to other pregnant women. All the instruments used by the pregnant woman need to be specially sterilized. Thirdly, it is a good way to prevent and treat newborns. Once the mother has AIDS, it will be transmitted to the fetus through the placenta. Newborns need special management after birth.