Chosen Solution

My iPhone X not run properly , some time it’s open and after 1/2 min it’s again restarting by its won and not ruining the ios just bleeping the apple logo. so many time i restart bot not working . also i try to update it but it’s not ruining even 30 min . some time it’s open by it’s won but most of the time apple logo bleeping . please suggest me what to do ?

If the phone is still in warranty take it to apple for a replacement. If you need data try backing up the phone via iTunes.