Start with these observations
- Note the time of the disconnection.
- Compare the same network on another device.
- Check whether moving closer to the router changes the result.
Official reference
Microsoft: Wi-Fi connection issuesThese starting checks use published documentation. They are not a diagnosis of your hardware.