Simultaneously, I tried to train my emotions. I worked it this way: Whenever I bought a stock, I wrote down my reason for doing so. I did the same when I sold it. Whenever a trade ended with a loss, I wrote down the reason I thought caused it. Then I tried not to repeat the same mistake.