HIV Prevention Tips from the CDC
Today, more tools than ever are available to prevent HIV. You can use strategies such as abstinence (not having sex), never sharing needles, and using condoms the right way every time you have sex. You may also be able to take advantage of HIV prevention medicines such as pre-exposure prophylaxis (PrEP) and post-exposure prophylaxis (PEP). If you have HIV, there are many actions you can take to prevent transmitting HIV to others.
This resource from the CDC answers some of the most common questions about HIV prevention.