In a the first step I would try to reset the Photoshop preferences.
Preferences in Photoshop (adobe.com)
If this doesn't help, please give us more informations including the following :
Adobe product and version number
Operating system and version number
The full text of any error message (s)
What you were doing when the problem occurred
Screenshots of the problem and/or error messages
Computer hardware, such as CPU; GPU; the amount of RAM; etc
To insert screenshots, please use the "Insert Photos" icon in the toolbar, so that we don't have to download them.
My System: Intel i7-8700K - 64GB RAM - NVidia Geforce RTX 3060 - Windows 10 Pro 22H2 -- LR-Classic 13.2 - Photoshop 25.6 - Nik Collection 6.9 - PureRAW 4 - Topaz Photo AI 2