Depending on your condition, you might be a candidate for an implanted cardiac defibrillator (ICD). Briefly the ICD monitors your heart and fires if you develop a dangerous arrhythmia. Here is an article that tells more: https://heart-failure.net/devices.