why do you need a shot instead of just getting the disease