Problem relate to project

I want to run a program when arduino is powered on.

Even when new blank or any other code is loaded it should first run the specific code and then start running the code loaded.

Put the 'one off' code in setup(), the main program / sketch on loop().