Hi @Liz1 and welcome to the forum. it’s good that you are being proactive and trying to avoid a lapse/relapse. In the end don’t be afraid of failing, be afraid of not trying again if you do - that matters even more.
I would recommend spending some time studying relapse prevention and how to deal with cravings. Some good resources are in these posts: