The only real answer is to drink way too much coffee
The fact is, I don’t know where my ideas come from. Nor does any writer. The only real answer is to drink way too much coffee and buy yourself a desk that doesn’t collapse when you beat your head against it.
—Douglas Adams