Gradually as the result of many intermediate steps is my answer because as life on Earth for example started off with simple atoms making molecules, and as the time went past more complex compounds were be produced. And from there later on unicellular organisms started appearing. Nothing in evolution that I know of happens in a short time, at least from the human perspective.