you will want to check in "system preferences -> Network", make sure ethernet is first in the list to give it priority, otherwise it will use your wi-fi even with a cable plugged in.
if it's not in the correct order, click the settings button at the bottom of the list, and pick "select service order"