i have one phone the problem is it dose not get powered on, if connected to charger the phone power ons but the screen frezes and nothing works, once the phone is removed from charger it switches of, if the phone is connected to the PC it is not detected.

Can some one help in this regard