The treatment of atrial fibrillation includes medication and surgery, and the treatment of heart failure includes medication and heart replacement. The drug treatment of atrial fibrillation includes: 1, anticoagulant drugs, including warfarin, and rivaroxaban and other new oral anticoagulants, because atrial fibrillation is prone to intra-atrial thrombus, resulting in thromboembolism. 2, taking heart rate control drugs, the heart rate of atrial fibrillation are more than 100 beats / min, this time you should take bisoprolol or digoxin to control the heart rate. 3, atrial fibrillation will appear heart failure, if the patient appears to be dyspnea, lower limb If the patient has dyspnea and lower limb edema, anti-heart failure treatment should be added. The treatment of heart failure is based on oral medication, and when the symptoms of heart failure are severe, you can go to the hospital for static medication to relieve the symptoms quickly. Oral medications for heart failure include: 1. diuretics, most commonly furosemide, spironolactone, and torasemide. 2. delaying the progression of heart failure, including sacubitril valsartan, metoprolol succinate, and dagliflozin. Heart failure is a disease that cannot be completely cured. When symptoms cannot be relieved with medication, a few end-stage patients can be treated with heart transplantation.