The loss is the normal thing in trading. You should not too disappointed about it. The most important thing is that what did you learn from the mistake?
Yeah, learning from mistakes is a good way to move forward. You are not doing trade if you not incur any losses from the very beginning of you trading day. It is risky but you have to deal with it and move on right away, besides your goal is for long term so don't focus on your losses instead focus more on your trading goals.
Take a breather. Sometimes we get too eager to make up for a loss that instead of getting our losses back, we get more losses. Its a domino effect from then on. So taking your attention away from all that is basically a logical thing to do