The best way to write a book is to have a looming deadline
Writing advice from Neil Strauss:
The best way to write a book is to have a looming deadline with hard real-world consequences. That’s the only way you get stuff done. If you don’t have a publisher or a deal to impose those consequences, find some way to make them real.