A pacemaker is a small electronic device that helps your heart’s electrical system. It keeps your heart beating at the right pace. Inserting the pacemaker into your body is calledimplantation. You stay awake during the procedure. You may be asked some questions or be asked to take some deep breaths.