Our family is prepared for such an attack. I made and executed a contingency plan after meeting with Frank Gaffney in 2005 and having him explain the threat. Google “Faraday cage” to get started.
Re: Faraday cage. I’m a little confused about which type of EMP to prep for. The charged particle EMP of a solar flare, the gamma burst of nuclear weapons and deep space or the magnetic pulse of a high-atmosphere EMP weapon? I don’t think a Faraday cage is effective against a magnetic pulse. After some research my solution is to bury essential spare parts under 4-6’ of earth. I haven’t done that as the water table where I live is 2’ down.