if infected, the amount of HIV in blood and body secretions, which in turn is influenced by how recent the infection
is, whether the person is sick with AIDS
, and whether on anti-HIV therapy. Presence of other STDs, especially herpes, in either partner is an important issue, as is circumcision status of the insertive partner in vaginal or anal sex (higher risk if uncircumcised). And of course condom use.