A successful trader isn't a trader who makes consistent profit without any loss but rather a trader who knows why his trade went the opposite direction and also a trader who understand risk management.
This is one of the important in trading which most the newbies are not aware of it.
Even before when I started trading, I admit that I made a lot of mistakes, especially the risk management and lack of knowledge because my mistake again for lazy of reading/asking/researching about how trading really works.
Mistakes are inevitable and what matters here is you do really mind on how you do commit those mistakes and how to get rid or trying to avoid it on next time engagement.
Easy to say but its really hard to be done but once you do get experience then you would definitely see this to be helpful on your trading career.Learning is limitless
and you would be finding it interesting when you are really seeking out some answers into your question.Research and personal experience would always count.