Certain medical conditions may make vaccinations unsafe for some children. These include severe allergic reactions to a previous dose of a vaccine or to a vaccine component, and specific health conditions like immunodeficiency. Healthcare providers evaluate the risks and benefits in such cases to determine the best course of action.