Thank you for not giving a hint about your model Mac, its specifications, your OS version, your model webcam, and a thousand thank you's for telling us nothing about your Internet connection. If we had any of that information, that it would have been impossible to give you a pure guess about your problem.
Do you have a working webcam?