If your brakes fail
Try pumping the brake pedal to temporarily restore hydraulic brake pressure. If this does not work, apply the parking brake gently but firmly while holding the release button. It is a good idea for new drivers to practice a parking-brake emergency stop under controlled conditions with a qualified driving instructor. Total brake failure is very rare on modern vehicles. If your brakes do fail and you manage to stop, do not drive away. Call for help.