Hi,
When it flashes does it still have the desktop screen on it or does it flashes while there's a black screen? Please do try these troubleshooting steps that may help in solving the issue.
- Do uninstall/reinstall the graphics card driver.
- In Device Manager uninstall the graphics card driver.
- Check in Programs and Features as well if there's anything related to your graphics card then uninstall it.
- Next is to download and install the latest driver from the manufacturers site.
- After installing the latest driver reboot your laptop for all the changes to take effect.
- Do test your laptop after the reboot and see if the same problem will persist or not.