I started the same way. It is probably a common experience for bitcoiners. Almost everything that I earned I would immediately spend, gamble it away or invest in some hyped up altcoin. Everything I earned would quickly vanish. There is no special method I used other than choosing not to spend what I have earned. It becomes tempting to spend during bull runs or when there are huge discounts for Black Friday. In the past I would try to rationalize this spending but after some hard lessons I am disciplined enough to keep my spending to less than 1% of my total BTC holdings per month.