Xbox one that’s doesn’t stay turn on

I have been trying to get it up and running it will turn but after like 8 seconds it turns off and I have bought a new power brick but it’s still doing the same thing what can I do to get it to stay on