LEarn how to fix a flat too. You don't need a new tube every time you get a fraggin puncture.
After a while you will learn to use the force and avoid a lot of flats (most of which tend to be glass shards as the most common cause of flats for me), but everyone has bad runs every now and then.