How to run codes one after another

OK, I got it.