Why does the Huawei P8 switch off automatically after it hangs?

My huawei p8 lite sometimes got a hang and after few seconds the phone is switched off. I need help ?

Respected sir , my mobile model is Huawei P8 URA-UL00 my screen is broken so plz - where I am purchase new touch screen plz give me address otherwise call me please

Not the answer you were looking for?