iPhone keeps restarting
I have an iphone x, it kept restarting every 1 minute. I changed the battery but it still restarts, the ios version is older and I'm trying to update it because I think it's because of that, but I can't because it keeps restarting (I tried via itunes as well). So do you know how can I update it or do something else?
iPhone X