Restart your iPhone 8 if necessary.
For whatever reason, the phone may have been unresponsive or frozen. To restart it,
follow these instructions:
- Quickly press and release the Volume Up button.
- Quickly press and release the Volume Down button.
- Then, until you see the Apple logo, press and hold the Side button.
Make use of a different set of charging accessories.
A faulty charging cable or adapter can cause issues and even harm to a smartphone. Try utilizing another recognized charging set to see whether you have a problem with the present set of charging materials. You may borrow a charging cord and adapter from a friend, charge your iPhone on a computer, or travel to a local Apple shop and charge it there. and check if this solution work or not