This is a personal choice for each author. Some people prefer to work from an outline, while others prefer to "pants" it (write from the seat of their pants). You have to try both methods and see which one works best for you.