The webcam doesn't work

I don't know why, but the photocamera for my computer doesn't work. I use it as a webcam when I have to record certain videos, but today, it has been very unstable. It doesn't work properly and freezes whenever it turns on. I first noticed it on OBS, and it doesn't work with the photocamera either. Now what? Is the lens dirty or what? Please help me out, this is serious.
 
Top