Emotional trading is something that you have to avoid in order to stay stable. Mental stability is one of the most important things in trading activity mostly because it determines whether you will have a good trading day or not. I believe that emotional trading is more susceptible to rookies, because they can't handle their emotions because of lack of skill and experience. nevertheless I would advice all beginners to learn some information about how to stay emotionally stable. It really matters a lot. Emotional trading often leads to plenty of losses and sometimes even to bad diseases. So, know this.
Emotions are natural and one can never control them. What a trader can do to avoid emotional trading is to stop reacting to the points that trigger their emotions, for example when a trader faces a loss. If a trader does not react to such circumstances it is highly unlikely for them to fall into the emotional trading trap.
Sorry to hear about the bad luck! I think it's normal to feel some emotion while trading but the important thing is to manage it and not allow it to affect your trading plan. If you need to, step away and take a breather when this sort of thing happens or do something that makes you feel relaxed, then come back with a clear head.
The only thing for you to recover your trading is to analyse your past mistakes. Otherwise, you are going to make the same mistakes in the future and the outcome will be the same. That is why I support the idea of having a trading diary where you can write all your thoughts which made you make this or that decision. It is a very nice tool to trak down your own trading strategy and its downsides.