Ideally, you got to have an idea before starting, but then every writer his/her style. Whatever makes you more productive and creative is the best way to begin.