Solve the core, essential, problem first.
Make it nice once you know it works
This is called the Spiral Model.