Hi,
We're sorry about the trouble with Photoshop. Please ensure you have the latest version of Photoshop (22.4) installed on the computer. Are you getting the error while opening a file in Photoshop or while trying to launch the app directly? Which operating system are you working on?
You can try to reset the preferences of Photoshop using the steps mentioned here: https://adobe.ly/2Qzc0K3
Please backup your settings prior to resetting the preferences. You can check: https://adobe.ly/2vNz6FG
Let us know how it goes!
Regards,
Nikunj