It's a good thing that you realize your mistake and want to immediately change your habit, because from what I see is that you tend to gamble uncontrollably and without a plan, this will make your gambling sooner or later disrupt your finances. And it's a good idea for you to manage your bankroll and only gamble the money you have previously allocated. For your winnings, you can save some of it and don't need to gamble it all away, because you will need it later.