Arduino serial transmission problem

whenever you start the arduino (or press reset) it will start (or restart) the code.