Start with a good design. Work through a good architecture resolving key decision points. Collaborate with any stakeholders necessary to build a good up-front design.
Now, as you begin building, assume the design, architecture, and up-front planning is all wrong.
Your job is to figure out how and why it’s wrong and make adjustments along the way.