A 60-year-old male presents with sudden severe retrosternal pain and 3 episodes of syncope. Heart rate is 40/min, regular. ECG shows P waves unrelated to QRS complexes, more P waves than QRS complexes, and QRS duration of 0.14 seconds. The best management is: