Whenever I trade, I always remind myself not to go beyond my threshold in a repetitive manner. Sometimes I write it down on post-it notes just in case I go full retard on trading. I rarely hit losses, and when I do, I immediately call it a day as soon as I hit my acceptable loss for the day. The key is being disciplined all throughout and you will control your emotions.