What is a stress reaction, and how can you prevent one?

Molly Seidel missed world championships because of a stress reaction; how can the rest of us stay injury-free?