If the publisher is convinced your book will have a market they may be happy to offer you an advance on the royalties they will be paying you when the book is successful.
If you are getting a publisher to publish your book it takes about 9 months.
The publisher is taking all the risk so they will want to make your book as readable as possible.
Most authors are rejected by publishers, get used to it, and then try another publisher.
The best way to find a publisher for your book is to go to your local library or bookshop and see which publishers are publishing similar books.
If you can find a publisher (not a Vanity publisher) to publish your first book, let them. They will take all the risk and professionally manage the process.
There are three distinct options here: Traditional Publisher, Vanity Publisher and Self-Publishing.
This is one of the easier problems to deal with, believe it or not.
Although it is still early in the process of writing a book, we need to have a quick look at the editing function.
My early books were all written in hotel bedrooms between 10pm and 1am.