In all heart case work ups / or any collapse, it is essential to perform an ECG to determine the electrical activity of the heart. An ECG can detect irregular heart beats (arrhythmias) and can determine the size of the heart chambers.