Many abnormal heart rhythms can be treated with a pacemaker. A pacemaker generates electric pulses that regulate heartbeats. Thanks to advances in technology, pacemakers are very light and can adapt to your body needs from moment to moment, beating faster during exercise and slowing down at rest. The procedure to insert a pacemaker is fairly simple and safe. Complications are rare, but knowing about them may help you to detect them early if they happen. After the procedure, you can go back to your regular activities after a short period of healing time.