Sound Quality

I am trying to record from my Yamaha MG166 mixer via the Mic In and the USB port on my Dell XPS 14Z Laptop but the sound quality both on monitor and on playback from Cubase vis horrible, being echoey and poor. Do you think it is the sound card? Help please! Regards, Phil