A pacemaker is typically implanted under the skin in the chest through a minor surgical procedure. The lead(s) are then inserted through a vein and positioned in the heart. The three different types of pacemakers are placed to make heart rhythm, improve heart function, and reduce symptoms of heart failure.