If a person living with HIV takes daily treatment for HIV and has an undetectable viral load, sex cannot transmit HIV. Other preventive measures include using a condom or other barrier method, PrEP, or PEP.