How do our defenders become the enemy? Understanding how our body’s defense can go awry is the key to building better tools to keep them in check.