People with weakened immune systems should not get the vaccine. It’s also risky for those severely allergic to its components.