Bro’s getting Big Brothered.
All seriousness though, you probably downloaded malware or ransomeware. Put something over the camera for now and try to use your computer’s antivirus if you can to try to clean the computer. If all else fails, you’ll probably have to either do a factory reset or send it in for repairs.