There are a number of ways to protect Earth from NEAs. One way is to deflect the asteroid's orbit so that it misses Earth. Another way is to destroy the asteroid before it hits Earth.