A pacemaker is a small device that helps control abnormal heart rhythms. This device uses electrical pulses to prompt the heart to beat at a normal rate. This is typically used for people with slow heart rhythm. A pacemaker can be implanted in your chest or abdomen with a minor surgery.