Arudino doesn't work after disconnecting the USB from the pc even with the code uploaded and the PSU connected

Solder the pins to the Nano and report back what happens when you try the sketch and the circuit