A condom is a thin piece of rubbery material that fits over a man’s penis during sex, forming a barrier to protect you from sexually transmitted infections (STIs) including HIV, and unplanned pregnancy. A condom will protect you and your partner during vaginal, anal and oral sex.