You will probably stay in the hospital for a day after having your new pacemaker is implanted. Sometimes, the procedure is so quick that people don't need to stay overnight. Your doctor will program the pacemaker to match your specific pacing needs before you go home.