To the naked eye, a slot game is about the reels stopping on the right symbols. In reality, the outcome of your spin is decided the millisecond you press the "Spin" button. The animation of the spinning reels is simply a visual presentation designed to build anticipation; the result already exists in the system before the reels even move.
This is made possible by the Random Number Generator (RNG). The RNG is a sophisticated piece of software that generates thousands of numbers every second, even when no one is playing. When you trigger a spin, the game picks the current number from the RNG and maps it to a specific combination of symbols. Because of this, every single spin is an independent event. This means the result of your last spin has absolutely no mathematical influence on your next one, regardless of whether you just won a large prize or went through a quiet spell.