my samsung core2 automatically restart how slove this problem

What is this "Samsung Core2"? Laptop? Phone? DVD/TV?

If this is Windows machine - try booting into safe mode, or booting from installation DVD and repairing it. Or find (pay) someone to do it for you.