On older boxy CRT monitors, this is usually a failure of the monitor. On an LCD flat-panel monitor it could also be a problem with the computer's videocard.
Could be static electricity in the monitor. Try using the degauss function of your monitor, if does not help consult your manufacturer for further assistance