There are many resources available online and in print that can help you learn more about bankroll management. One of the best is Bankroll Management for Professional Gamblers by Henry Tamburin.