I've searched up to fix this problem, but none of the fixes seem to go for my problem. I would turn on my phone, apple logo appears, and after 5-7 seconds it would turn off. I can't lose anything there's way too much 🙁
I think your only option in this situation is to DFU restore with iTunes unless you know what you did wrong and can SSH into the device and remove the bugged tweak. You won't be able to make a backup with iTunes, so hopefully you've got iCloud backups.....
What was the last thing that you did before this problem occurred? It would help a lot to troubleshoot your issue if you give more information to your circumstances
Is the phone plugged in when you're trying to turn it on? Maybe the battery has gone bad?
Which iPhone and what iOS version are you broken on?
If you're using one of the older jailbreaks that are untethered, try booting up in substrate disabled mode. If the boot loop is caused by a tweak, then that should allow you to boot to home screen to uninstall the offending tweak(s) via cydia
Edit: oops, didn't realize someone bumped up an old thread