For up to 7 days after unprotected intercourse, you can have an intrauterine device (IUD) inserted to keep you from getting pregnant. When used after unprotected sex, the Copper T 380 A IUD (Copper T IUD) is inserted into the uterus. It prevents implantation of a fertilized egg (if an egg was fertilized by the unprotected sex).