To cook the spaghetti squash, preheat the oven to 400°F. Slice the spaghetti squash in half lengthwise and scoop out the seeds. Drizzle the inside of the squash with olive oil and sprinkle with salt and pepper. Place the squash cut side down on the baking sheet and roast for 35 - 40 minutes, or until fork tender. Once cooled, use a fork to scrape the strands from the inside of the cooked squash.