Red line on right side of monitor

I'm afraid that's almost certainly a hardware fault in the monitor. If it's within warranty you should get it replaced, otherwise ask a computer repair shop what it would cost to repair it. Depending upon the monitor it may just be cheaper to buy a new one.