Arduino forgets sketches after a few minutes? (Power supply?)

Alright guys, as requested, the schematic. Forgive its terrible points, im completely new to Fritring. I'll update the drawing to include the new 5V regulator.

Im going to see if i can atleast get an Arduino and A4983 model in Multisim, i could atleast make an intelligent schematic of what i have there.