How quickly does it turn off?
My computer, occasionally when I start it up, it will immediately turn back off, then back on. I know it's not an OS issue, because it never gets to the OS. I don't think it even gets past POST
I'm pretty sure it's my motherboard because it didn't start happening until I got it