PEP involves taking antiretroviral medications as soon as possible, ideally within hours of exposure, to reduce the risk of infection. The regimen typically lasts for 28 days. It is essential to start PEP promptly, as its effectiveness diminishes with time.