Help samsung s6810

When I press unlock (on off)button mobile auto restart problem. I changed on off button and flashed the mobile but same problem. Thanks for help