If you are driving and a tire suddenly goes flat, you should:

If a tire blows out or suddenly goes flat while you are driving, grip the steering wheel firmly and keep the vehicle aiming straight. Take your foot off the accelerator and do not brake. Allow the vehicle to slow by itself and use the brakes gently, but only if necessary. Pull off the road when it is safe to do so.
DMV Writen Test