I think the first time i flashed it with a wrong Firmware and i messed it up . cuz this new firmware seems to be working but the phone turns on and off every 10-20 sec , is there anyway to fix it ?

im getting disappointed
i thank you for your help