How the brain fights off fears that return to haunt us