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

Is there also a common GND connection between the two ?

Which pins are you using to communicate between the Arduino and the module ?

Please post your full sketch, using code tags when you do