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

Are you giving enough time for the SIM800L module to properly start up?