This pamphlet from Journeyworks Publishing gives ten ideas of what to do when you relapse:
1. Learn from the relapse.
2. Don't wast time feeling bad. (Forgive yourself and move on.)
3. Prepare to quit again.
4. Remember your reasons for quitting (financial and health are two good ones.)
5. Remember the health risks are real.
6. Figure out your triggers.
7. Outsmart your urge to smoke again.
8. Remember what helped you quit last time.
9. Build on what worked before.
10. Pick your new quit date and go for it.