evidence: By Mayo Clinic Staff [...] Herd immunity for illnesses such as measles and polio happens when you and the people around you get vaccinated. [...] If you have a chronic medical condition and may have a higher risk of serious illness, check with your healthcare professional about other ways to protect yourself.