An aerial defender will help. But you have to make sure your defenders are as good if not better than the attackers. If your defenders are worse skill wise, they won't stop headers from corners.

Defender with a defensive wall stops free kicks.