If Minecraft started flashing uncontrollably after you updated to version 1.2.5, to the point where it's unplayable, the first things to try are the simple fixes. Restart your computer, and if that doesn't help, uninstall the game completely and then reinstall it fresh.
A clean reinstall clears out any corrupted files that a partial or interrupted update can leave behind. If the flashing still persists afterward, it may be worth checking that your graphics drivers are up to date, since display glitches like this are often driver-related.