Non-nuclear EMP weapons are not viable defenses. They are short ranged, very expensive, single use, and require detonating powerful conventional explosives.
The only effective defenses today are the same as against regular missiles: guns, missiles, decoys, ECM, and blinding lasers. In a few years high-powered lasers might become viable.