If you have sex over a few days, keep taking a pill each day. Continue for two days after the last day you have sex.
If you have sex over several days continue to take a single pill every day you have sex at around the same time.
Then after you stop having sex, take daily PrEP for the next two days.
If you start PrEP but then don't have sex – and you have no plans to have sex – there is no need to keep taking PrEP.