Soothing music.
Keeping busy.
Breathing.
Exercising.
Learning new things.
Calling recovering addicts.
Going to meetings.
Working steps.
Positive affirmations spoken into the mirror or repeated in the car.
Getting out of myself and trying to help other people instead of worrying about how bad my own life may be or how bad of a person I am.
Taking personal inventory. When I do something wrong, admitting it immediately and getting into the solution. I could have just done the worst thing I have ever done in my life, but that is already in the past. Stay in the solution.
All of these things sound really corny but they work. The cornier, the better.