You may be asked to wait a few days (a week at most) after having surgery to have a vaccination.