if your phone is dead, phone is not working properly you need to flash your device. try always upgrade latest firmware. check your device hardware problem and fix this problem then flash your phone. make sure device battery is not empty.
if your device is virus attack, phone is auto download application if you can't fix this problem any other way try download latest firmware and upgrade or flash your device.