This could be from the HDMI or VGA cable of your laptop not been firmly connected to the visual socket of the external monitor. Removing and reinserting the display cable will stop the external monitor from flickering.