When I ever relapsed, the following day I'd just work out or go for a long walk, take a shower, prepare some food and think about everything it is that led me to my relapse. After thinking it through, I'd write it down and store it in a box with the label "REASONS WHY NOT TO RELAPSE."
Certain things being the evident of course, but others because of personal issues.