Its probably not a camera issue, you probably have viruses/ malware / bad registry problems. You didn't post specs so who knows maybe you running a windows cam on a mac.
Your question basically translates to hello, and goodbye. More details if you want help.