If taken within 72 hours after possible exposure, PEP is highly effective in preventing HIV. But to be safe, you should take other actions to protect your partners while you are taking PEP.  This includes always using condoms with sexual partners and not sharing needles, syringes, or other equipment to inject drugs.