Treatment for sudden cardiac death includes: CPR. Immediate CPR is needed to treat sudden cardiac arrest and prevent death. Resetting the heart rhythm. This is called defibrillation. You can do this by using an automated external defibrillator, called an AED, if one is available. They are found in many public places. Medicines to treat irregular heartbeats and to manage symptoms. Heart procedure or surgery to place heart devices or to treat a blockage.