which is better uninstlal the driver then restart or scan for hardware change to get the driver.
reinstall drives in device manager
This will depend on the driver type itself.
1- If the driver is a plug-n-play driver then a hardware scan will reinstall the driver after uninstalling it (and rebooting).
2- If this is a third-party driver not currently available in the Windows Update catalog (Windows Update servers), then a hardware scan after a uninstall will not be successful. You can do a manual install through the driver installation software provided by the vendor or download the driver from the vendor's website and kickoff the Add Hardware wizard, then manually point the wizard to the location of the previously downloaded driver.