It might be helpfull to have a designated time to stop playing in terms of time or $ won/lost (usually lost). Mine is something like 3 or 4 buyins. I might take a break for a little while, or just stop playing for the rest of the day depending on how I feel. If you feel yourself steaming definately close all your tables and walk away.