I am going to say that there is no way to stop flat tires unless you want to ride with solid rubber. Punctures happen. I have been fortunate to have not many flats despite having ridden years when I rode double didgets (either kilometres of miles) every years. Flat tires happen, if you know how to repair them, good on you. If you figure out why they happened, even better on you and the benefit will be that you may figure out how to avoid future flats