How to write a book: start, keep going, end. Edit/revise/rewrite. Done.
There, now you don’t have to buy a book called How to Write a Book.