Once the pads have been applied to the patient, the AED will analyse the patient's heart rhythm and advise a shock if necessary.