It may be a good idea if you are concerned about the cost but I suggest staying on the medication to maintain the habit of taking the pill every day. Consider the impact if you miss doses of PrEP, when you resume having sex simply because you were no longer in the habit of taking the medication every day.