The safest sex is between 2 people who are only having sex with each other, don’t have a sexually transmitted infection (STI), or share needles to inject drugs. For more information on pregnancy prevention, speak with your doctor.