A scheduled maintenance check will sometimes help prevent it

Tires will blowout for a number of reasons, and sometimes it is how many miles the tires have gone.  The most common reasons are over-inflation, under-inflation, overloading the weight in your vehicle, or by driving over a road hazard that is sharp and puncture the tire.  The tires also wear out naturally after traveling a certain amount of miles.  By going to regularly scheduled maintenance checks, you can make sure your vehicle and tires have been examined so they are in proper working order.  The tires should be inflated to the proper amount needed to ensure good rotation and wear evenly.  Also check the tires to make sure the tread has not worn away, leaving bald tires.

What to do if the tire blows out?

The most important thing to remember is not to step on the brake.  This becomes an issue because with a flat tire, this transfer of weight can lead to the loss of control of the vehicle.  Instead, when you hear the tire pop, gradually release the accelerator and correct the steering as necessary to stabilize your vehicle and regain control.  Once you have it under control, continue to slow down and pull off the road where it is safe to do so.  When you are completely off the road, turn your hazard lights on and open the hood and trunk of your vehicle to make yourself more noticeable.

How to fix a blown tire

The first way you can repair it is with a water-based sealant.  This can be injected into the tire through the valve stem.  You can also use a patch to repair the tire.  Placing a patch on the tire involves removing the tire, applying rubber cement and the patch to the inside of the tire, and then pressing it to the surface.  The last option is a tire plug, which can be used to repair the tire without actually having to remove the tire.  The puncture is removed from the tire and a plug coated in rubber cement is then inserted.  All are good temporary fixes until you can get your car in.