One way to fix this issue is to fully charge the phone then try to soft reset it (press and hold the Power and Volume Down keys simultaneously for 15 seconds).
Another way is to use hard reset and return the phone to factory default without going to Settings.
The steps to reset your phone using hard reset are listed below:
Step 1. Disconnect the phone charger.
Step 2. Press and hold the Power and Volume Down keys simultaneously.
Step 3. Release the pressed keys when phone vibrates and then immediately press and hold the volume down button until the phone displays an exclamation mark (!) on the screen
Step 4. Release the volume down key.
Step 5. Then press the volume and power keys in the following order: volume up, volume down, power, and volume down.
Step 6. Wait for your phone to reset, during the reset you will see gears rotating on the screen for up to 5 minutes, after which the screen goes blank for 30 seconds and then your phone will restart.
If none of the above works you may want to consider returning the defective phone.