Could be many things causing your issue.
Could be a loose connection in the video cable.
Could be a monitor going bad.
Could be the GPU going bad.
What monitor do you have?
Look up "complaints" or "issues" with your monitor and see if its that.
When troubleshooting, always remember one rule... KISS! (Keep It Simple Stupid!
)