You have to visit your nearest Samsung Repair Center to know the exact problem. They Will guide you on what to do next. Or Do you have a hardware issue or not. Or you can visit iFixScreens Store to Diagnosis the issue. They provide free diagnosis services for your Samsung Galaxy S8.