The Arduino does not execute commands when I unplug the Arduino.. It only executes commands when I press the restart button

This problem only appears when the power is off and then plugged in again. Arduino only works by pressing the restart button.. yesterday I switched the Arduino but there is the same problem