Arduino program won't stay on when connected to a 12v battery

Voltage reg did the trick. Yeah! Thank you all. I found a nifty heat sink to mount it. I'm golden.