Every Arduino program must have a?setup() and loop() function. The?setup() function?is used to set the environment in which the program runs. It only runs one time when the program first begins to run. When your code in setup() finishes execution, program control immediate begins to execute the code you wrote for the loop() function. The code in the loop() function runs until: 1) power is removed, 2) your perform a reset, or 3) there is some kind of component or other failure.
Functions you write are called as part of the loop() function. The exception are Interrupt Service Routines which get called as needed, depending upon how you set them up.?
If all of this seems strange to you, print out the Raduino code, look for setup() and loop(), and see if you can follow what's going on. If you have your ham license and can still fog a mirror, I know you can learn to program an Arduino. It just takes a little time and practice.