1. Use quality tires
2. Use quality tubes
3. Use quality rim tape
4. Lower pressure a bit
5. Pay attention when you ride and avoid as much junk as you can
6. Carry spare tube, levers, and inflation. Know how to use them.
If the above is too complicated for you, the next best option is to pay a crew to ride behind you and swap wheels when you flat.