Cardiologists—doctors who are heart specialists—treat heart arrhythmias and other common heart problems. An electrophysiologist is a cardiologist who has had extensive training in treating arrhythmias.