What do if arduino reset itself?

The LED on pin 13 always being on doesn't necessarily indicate any problem at all. You may just have uploaded a sketch to your board that turns the LED on.

Please provide a detailed description of the problem you're having.