Just use a simple technique did you set your own rules while and after you trade and ensure that you follow them before doing a trade always make a plan according to it and also it include your risk management plan if you face loss initially or you feel failure don't let yourself down learn from your mistakes and evaluate your trading strategies and update your trading rules and if you are not sure about any trade always set stop loss and take profit so that you do not face huge losses.