This will depend on your situation and what is available where you live.
Condoms are available in most pharmacies and are often given out free of charge in health facilities. If you are able to use a condom correctly every time you have sex this may be the best choice for you. Condoms are the only HIV prevention method that also prevent other sexually transmitted infections (STIs) and unplanned pregnancy. Both internal (female) and external (male) condoms are available and they come in different sizes, flavours and textures so you can experiment and use whichever works best for you.
PrEP is a good option if you are HIV-negative and worried about the risk of HIV infection especially if you don’t always use a condom. You might consider taking it if you are in a relationship with someone who has HIV or unsure what your partner’s status is, you have sex with multiple partners, you have sex for money or gifts, or with someone much older than you. PrEP works well but only if you take it correctly (often this means once a day). Unlike condoms it won’t protect you against other STIs or unplanned pregnancy.
PEP is a good option if you are worried that you have already been exposed to HIV (for example you’ve had sex without a condom, you’ve been raped or you’ve shared injecting equipment). It is most effective at preventing HIV infection if you take it within 24 hours of exposure. PEP is not recommended for long-term use. If you are exposed to HIV regularly you should consider using PrEP for HIV prevention.