My iphone 4 keeps freezing, what should I do?

Hi there i'm having an issue with my iphone 4. Ill turn my phone on and after a minute of using my phone it freezes and turns off. My iphone is jailbroken and running ios 7.0.4. I tried connecting it to my iTunes and it does not recognize it. I can't really uninstall any tweaks because when I go into cydia it freezes during when i'm uninstalling a tweak. Any suggestions?

But a new phone dude