It is best to toss freshly cooked spaghetti in sauce immediately after the pasta is done cooking. So, cook your sauce first or time it so the sauce and pasta are done at the same time.