Why has my heart been racing on and off?

SVT. The most common cause is something called supraventricular tachycardia. I get this if i let myself get out of good aerobic shape. A physician's office visit is in order, for treatment and to rule out something more troublesome.