The most effective prevention for HIV is by wearing protection during sex. If you are sleeping with someone and you are not 100% sure that they don’t have a sexually transmitted disease then you should always wear a condom. People who have HIV can reduce the risk of passing on the infection with effective antiretroviral therapy.