Install cheese from the repos and see whether your webcam works with that. If it doesn't, install guvcview, which should also be in the repos. Odds are that it will work with one of those two packages.
You can then remove the package that didn't work. Then post back here with the make/model of the webcam and the make/model of the computer and whether or not you got the camera working.