Dear Elias Hakala,What exactly is your computer model and manufacturer?
Initially I recommend that you go to the manufacturer's website and update the drivers;
It would be interesting if you could send us a screenshot of the moment when the error message appears;
Do a clean boot;
Right click on the start menu and go to Task Manager;
Click on startup and disable all programs from Windows startup;
Do a network reset;
Press WIndow key + I and access Network and Internet;
On the new screen, under “Status”, slide the screen down and click on “Network reset”;
Now, click on “Restore now” and confirm the start of the process;
Restart the PC and check the behavior;
Hope this helps, see you soon!