The first thing you should try is a memory test. Windows 11 comes packaged with a tool called Windows Memory Diagnostic that ...
With an underlying memory problem remedied in this way, the hope is that your system will be more reliable going forward. But ...