None. Because every trader, sooner or later, makes some mistakes in analysis or faces some speculation. And it's not a big deal, the main thing is to learn how to fix it quickly and work effectively further.
Forex is full of risks. The only way you can avoid losses is by improving and working hard on a strategy that takes you in the right direction. Profits are not always guaranteed and so are the losses. An effective plan can improve your performance.