That depends on your computer's model. Most Lenovo uses F8 or Fn+F8, or a switch above the lens, HP has a camera key or a button on the side of the laptop, MSI uses F6 or Fn+F6, etc.
If you are not sure, can you tell me the brand and model of your comptuer, so I can get more precise?