Preventive measures include: - Using condoms during sexual activity - Regular testing and treatment of sexually transmitted infections - Pre-exposure prophylaxis (PrEP) for high-risk individuals - Avoiding the sharing of needles and syringes - Ensuring blood and blood products are tested for HIV