A traditional vaccine primes the immune system to build better defences. Researchers think we can do something similar to increase our resilience to the pressures and worries of life