Taking antiretroviral medicines after being exposed to HIV to help keep from being infected (eg. after barebacking or the condom broke). PEP must be started within 72 hours after a possible exposure to HIV, but the sooner you begin taking it, the better. According to the CDC, every hour counts. Must be taken for 28 days. PEP is effective in preventing HIV, but it’s not 100%.