My phone won't turn on
I was texting a friend when the screen suddenly went black. I let the phone be alone for a while and when i tried turning it on nothing happened. I took the battery out for a bit and tried again, still nothing. I tried charging the phone too but nothing is happening. This happened once before but the phone turned on when I took the battery out for a while and put the phone on a charger. Is there any way to fix this or do I need to buy a new battery or a phone?