To prevent HDN, Rh-negative pregnant women are given an injection of Rho(D) immune globulin (RhoGAM) at around 28 weeks of pregnancy and again after delivery if the baby is Rh-positive. This treatment prevents the mother's immune system from becoming sensitized to the Rh antigen.