I once deposited some money on a account years ago and traded with that. After a while I took my deposit out as I made profit, and kept trading the left over money. That was a huge thing to do, why? It is no longer my money! It is free money, so I don't care a lot when I lose some of it or even a lot. And that freed myself from being too emotionally attached to losses.
I still am impatient, but I don't care about a loss. Important to me is that I follow my system and found a way to distance myself from the money.
Another trick: I like to start a new account with a small amount and I trade aggresivelly (don't do it yourselves, I know what I am doing). When a trade is volatile and I feel a bit jibberish (sometimes that happens, even with free money. There is pride involved!) I remind myself that I once started that account with 50 EUR and 0,02 lots so I am only losing 20 cents per pips allthough my broker and screen says differently.