I am using iphone 3gs 3.1.2 activated unlocked and jailbroken.

i was deleting some pictures from my album in iphone when my iphone got freeze and when i reset it (holding power and home button) it did not open. i tried to open it again and again but the apple logo stays for a whole and then goes away and it happens again n again whenever i press the power button

can anyone please help me

what i should do or tell me what this problem is so i can have a heads up and i can search for the solution this problem

thank you soo much