Unfortunately, you may not be able to prevent cardiac arrest. You can reduce your risk by quitting smoking (if you smoke) and getting screened regularly for heart conditions, especially if you have a family history of them. If you have experienced heart failure before, talk to your doctor about whether an implantable cardioverter defibrillator is right for you.