Professional traders obsess over risk before reward. They decide how much they're willing to lose on a trade before they think about the upside.
Three habits do most of the work: size each position to a fixed risk limit, set an invalidation level (a stop) before you enter, and keep a written plan you actually follow.
None of this removes risk — trading is inherently risky — but it makes your results a product of process rather than emotion.