Restart properly, not just close the lid
Shut down, wait ten seconds, start again. Closing a laptop lid or letting a screen sleep is not the same thing, and a machine that has not truly restarted in weeks accumulates problems that clear themselves on a real reboot.
Restart the router by unplugging it
Power out at the wall, wait thirty seconds, power back in, then wait a full two minutes before testing. Most people plug it back in and test after ten seconds, decide it did not work, and move on.
Write down the exact wording
If there is an error message, write down or photograph exactly what it says. “It said something about a certificate” and the actual text are two completely different amounts of information, and the second one often identifies the problem immediately.
Note when it started and what changed
An update, a new device, a storm, a provider visit, a power cut. Problems rarely begin for no reason, and the thing that changed just before is usually the thing to look at.