Iphone is not working

The power is on, but it just stay with blank screen with apple logo. when i put the phone on the charge it blinks once in a while.  i tried to unlock it and this all happened. if any one has solution then please help me out.