These six steps come from Discipline and Discovery by Albert E. Day (1988). I've copied these 6 steps onto the blank pages of every Bible I have owned since the late 80's.
1. Avoid anything which lowers inhibitions (drugs, people, locations);
2. Set a watch on the door of your eyes;
3. Guard your imagination;
4. Do not run toward temptation;
5. Restrain your indulgent curiousity ; and
6. Let your thoughts dwell on what to do not what you shouldn't (Phil 4:8).