Chosen Solution
I changed my screen. Now when i want to turn it on it gets into the white screen for about 5 seconds and turns off.
Is it in a boot loop or is it booting to a black screen that is lit up? It might be that your phone is stuck in DFU mode meaning it would have to either be restored or updated.