Preventive measures for RDS focus on reducing the risk of premature birth and improving lung maturity in fetuses at risk. Administering antenatal corticosteroids to the mother before preterm delivery can accelerate lung development in the fetus. Additionally, proper management of maternal conditions such as diabetes and avoiding elective preterm cesarean deliveries can help prevent RDS.