Iphone 4s won't stay on unless pluged in?

I everybody my iphone 4s only powers on when charger is plugged in but only as far as recovery mode and when i try taking it out of recovery mode nothing happens plus when i plug it into my laptop the apple logo just flashes on and off can anybody help please?

Take it to Verizon. They should be able to repair it or replace it!