For ventricular arrhythmias, prevention of sudden death is with an ICD, which is recommended for patients with dilated cardiomyopathy and left ventricular ejection fraction of 35% or less and for patients with sustained ventricular tachycardia / ventricular fibrillation or resuscitated cardiac arrest.