There is no trick to winning roulette. It is a game of chance, and the outcome is 100% luck.
That being said, you can learn bankroll management with bet sizes and betting patterns, and you can understand the different odds versus payouts to become a better player.