What happens if an arrhythmia is detected