If you are a writer, you’re no doubt familiar with beer and coffee, but I’m afraid it is entirely possible that you are doing them wrong. As we can see in this page, each has useful effects for the writer, but must be used carefully. As near as I can tell, the aspiring writer is best off springing from bed in the morning and downing a few beers. Then, as the ideas begin to flow, and before a general lassitude takes over, coffee should be applied to keep things cranking along.
Or, presumably, you could just keep downing coffee stout until that novel is finished.