Taking precautions to protect oneself and others against sexually transmitted infections (STIs) and unwanted pregnancies.