whenever i open a document using the magic wand tool the picture in the document keeps flashing black and its really irritating please help CS6
Welcome to the forum.
I think that Chris has probably given you the answer, but if you do not have Win8, two other things to think about would be your installed video driver, and any tablet driver, if you have one. Going back some years now, there were some GUI "flashing" problems with certain MS InteliPoint and then Logitec SetPoint mouse drivers, but that flashing was in the GUI borders, and not flashing to black. Plus, I cannot recall any issues recently.
For the video driver, go to the mfgr's. Web site (do not trust Windows to tell you if you have the latest driver), and plug in your model card, and your OS, and manually check if you have the latest video driver - if not, download and install the latest, then test.