you should always have 25 buy ins left in your bankroll left for whatever stakes you are playing. For example if you buy into a 2cent/4cent no limit table with 2 dollars. You should have 50 dollars left in your account. this will help with bankroll management. Also go to pokerstrategy.com and read about bankroll management