Traders can’t know with certainty if a trade will materialize into a profit or a loss.
What they can try to achieve instead is to learn how to manage the risk properly. They should try to maximize their profits when they are right and minimize their losses when they are wrong.