On the desktop, find the apple menu at the top left of the screen and click on it

Select "System Preferences" from the menu

In system Preferences, select Network

Click on Ethernet from the left hand menu

Make sure your settings are setup to connect with DHCP

Click on Apply, and you should then be able to connect to the internet