Hello,
The Ethernet adapter is built-into the logic board (main board) in Macintosh computers.
It's not a separate card that can be replaced like it is on many PC's.
So, you cannot replace a faulty Ethernet port without replacing your computer's main board / logic board. That's going to be more expensive than just buying another computer.
So, your options are new computer or USB Ethernet adapter.
A USB Ethernet adapter is going to plug into one of your USB ports, and act as an Ethernet port.
You need to make sure you get one that is compatible with your version of the Mac OS.
Some Mac drivers for standard PC-type USB to Ethernet adapters are provided here:
http://sustworks.com/site/newsusbethernet.html
Of course, if you can find one that comes with Mac Drivers, then that would be much better.
Here are some alternatives for Wireless (WiFi) Ethernet adapters on the Mac:
http://www.afterthemac.com/
I hope this helps.
Let us know if you have other questions.
P.S., if you'd like, go ahead and click the "Helpful" or "Solved" buttons on any of the posts / replies above if you feel they were helpful or adequately answered your question.