Amazon interview question

How do you make a program run on startup