This might be politically incorrect, but: only procreative sex (i.e. in some sort of marriage) is literally what makes us alive, and other types - not necessarily. This sexual behaviour statistically does not create STD spread, because of negative feedback, while other behaviours create positive feedback of amount of people infected. In current state of standards in medical procedures other transmission vectors are negligible.
Of course only speaking of the first world countries.
There are lots of problems in third world countries, where numerous behaviours are not related to sex promote transmission of HIV