The effectiveness of PEP is highly time-sensitive; it must be administered as soon as possible after exposure. For HIV, the optimal window is within 72 hours of exposure. For rabies, PEP should be initiated immediately after a potential exposure, such as an animal bite. Delaying the initiation of PEP can significantly reduce its efficacy.