The doctor will tell you if you need to stay at the hospital and for how long. Sometimes it is possible to go home the same day that you have the pacemaker surgery, but most patients spend 1 day at the hospital after pacemaker surgery.