A small electronic device implanted in the chest to help the heart beat regularly. If you have a pacemaker, you cannot have an MRI scan, as these scans are magnetic and interfere with how your pacemaker works.