The extreme sensitivity to initial conditions that chaotic systems display makes them unstable and unpredictable. Yet that same sensitivity also makes them highly susceptible to control, provided that the developing chaos can be analyzed in real time and that analysis is then used to make small control interventions. This strategy has been used here to stabilize cardiac arrhythmias induced by the drug ouabain in rabbit ventricle. By administering electrical stimuli to the heart at irregular times determined by chaos theory, the arrhythmia was converted to periodic beating.