Try adjusting your refresh rate first
Otherwise try using the monitor on another pc or laptop and see if you have the same problems. If not, I'd say it's the graphics card. If the wavy lines persist, it must be a problem with the cord or monitor itself.