You should consider walking away from a slot machine if you haven't received a bonus within 100 spins, or if the machine isn't giving you any line hits to pay you back. Also, if you've set a budget and you've reached your limit, it's time to walk away. Additionally, if you've won a significant amount, it's wise to set a threshold of what you're willing to play down to and cash out once you reach that limit.