Amiodarone is used to treat or prevent heart rhythm disorders, such as atrial fibrillation. It can be used to treat patients in hospital, especially after heart surgery to prevent atrial fibrillation.