Hi,
We're sorry about the trouble with Photoshop due to the Program error. Would you mind sharing the version of Photoshop you're using along with your computers operating system?
You can try the steps suggested here: https://adobe.ly/2JZDqZB
If the issue persists, please roll back to the previous version of Photoshop using the steps suggested here: https://adobe.ly/2wH0JjE
Please uninstall the latest version of Photoshop first & select the option to Keep Preferences prior to installing the previous version.
Regards,
Nikunj