Headphones should be kept away from the pacemaker implanted side as they might contain the magnetic substances. Do not put such devices in your shirt or jacket pocket to the same side where your pacemaker is implanted.