Encountered a new issue in nokia 7 plus

The screen went Black but the Phone touch was working i needed to hard restart in order to get the screen working