You did not give very much information in your message for us to work with.
If you have a flat panel monitor, the vertical line is most likely caused by a broken connection.
You would need a new monitor.
If you have a CRD monitor then it is most likely a software error.
Could be a bad connection----
After closing down PC and switching off monitor--- disconnect monitor
lead to PC and re-connect to get a positive connection. HTH