How to connect Ubuntu to the internet?

I am new to Ubuntu and I want to connect to the internet. I plug in my network cable but it doesn’t take it as plugged. I think that it doesn’t take the driver. I have Realtek PCIe FE Family Controller. I downloaded the package but don’t know how to install it correctly. Please help me with full details.