STDs can be transmitted during pregnancy and pose risks. Common STDs include chlamydia, gonorrhea, herpes, HPV, and syphilis. It is important to test for STDs during pregnancy, counsel partners, and treat both mother and partners to prevent complications like preterm birth, stillbirth, congenital infections, and infertility. Proper use of condoms and abstaining from sex during outbreaks can help prevent transmission.