Suggest some ways to protect the Earth from an asteroid or comet?

Nuke the comet
Ram it off course by launching a rocket
Use a laser to vaporize it.
Break it up by hitting it