A pacemaker may be implanted near your heart. This device helps both sides of the heart contract at the same time, which may decrease heart failure symptoms.