Safe sex is having sexual contact while protecting yourself and your sexual partner against sexually transmissible infections (STIs) and unplanned pregnancy.