galaxy s6 turn off self

hello
samsung galaxy s6 turn off self
i have flash it but sam problem
any solution
thanks