How is cardiac arrhythmia treated?