Defense is harder to plan than offense. You only need to know one way to launch an attack. To plan a defense, you need to consider every way that you could be vulnerable.
Having a good grasp of every type of offensive strategy helps as you can then theorize what defense that you would not want to fight yourself. Obviously, most defenses start with a good command of the air. Interceptor and helicopter units are some of the most important as they respond to most attacks that occur anywhere in your country. Additional interceptor and helicopter units provided by your federation, or simply another of your countries that you fedded, is also key to have a multiple air response to each attack.
That will get you started. From there you need to consider other important defenses such as the mobile land units and look at possible garrison units. Other considerations such as ranges and your blackout periods should, also, not be overlooked. If you have experienced members of your fed, they can be an important resource in this planning and a group strategy for protection.
Good luck