Treatment depends on the underlying cause and may include lifestyle changes, medications, pacemakers or defibrillators, surgery, and psychological counseling.