It's generally advisable to write the executive summary after completing the full document. This way, you'll have a comprehensive understanding of the content, making it easier to select and summarize the most critical points.