Chosen Solution

Please my iPhone 8 keeps shutting down and sometimes the battery health shows and sometimes show service and don’t know what’s the problem. I will be glad if you can help me out

It sounds like you need a new battery. I would replace the battery and see how it works then.