Plus, when you should get the shot if you just had an infection.