Open the settings.
Click on Update and Security.
Click on Troubleshooting.
Select the troubleshooter that corresponds to the hardware with the problem.
Click the Run Troubleshooter button.
Follow the instructions on the screen.