Device constantly turning on and off - Help Needed

Start by showing what you have connected to the Arduino.
Alternatively: don't connect anything to it except the USB cable to your computer. Does the problem persist?