Two things that helped me was having a list of the reasons why I wanted to quit. I bookmarked a post I made on here after a relapse. Here it is.
I wrote it myself, so it hits harder than a random list. Second, at times I would just chain join online meetings, just to keep me at home and not going to the shop.