New tires + proper tube inflation = much fewer flats.
Flats are a part of life, especially in park/street riding. But, they shouldn't be in dirt unless you are landing on well packed lips a LOT. I go to contests and in a full day of riding not one dirt guy will bust a tube.
Street guys? Sure, they always are clipping coping on reentry.
If your tubes are popping, you need to get the air pressure up some and move over to some better tires that are designed to keep crap out and your tire rolling smooth.