A pacemaker is usually implanted under your collarbone with coated, flexible electrical leads running from it to your heart. Pacemakers are used to monitor your heart rate and send small and painless electrical impulses to your heart to regulate your heart beat. For more information about pacemakers and other devices used to control your heart beat, click here.