Using condoms during sexual intercouse, not sharing needles, lowering your number of sexual partners, taking pre-exposure prophylaxis (PEP) and post-exposure prophylaxis (PEP) accordingly, etc are some of the measures one can take to reduce the spread of HIV.