Open the settings.
Click on Update and security.
Click Troubleshoot.
Select the troubleshooter that corresponds to the hardware that is causing the problem.
Click Run Troubleshooter.
Follow the instructions on the screen.