my iphone x getting software issue. All applications are open automatically once a slightly touch the screen. Photos are opening automatically and other applications also. I am unable to use my iphone x. Please advise how to sort out the issue

my iphone x getting software issue. All applications are open automatically once a slightly touch the screen. Photos are opening automatically and other applications also. I am unable to use my iphone x. Please advise how to sort out the issue