Before you can use the webcam of your laptop, you need to download and install the appropriate driver for it. To do that, visit the official support website, search for your product and download the compatible webcam driver for your OS. After you did this, restart your computer and your problem should be fixed.