A heart tracing or electrocardiogram (EKG) will probably be done. If needed, the EKG may also be done during exercise. This is known as a stress EKG.