So many variables Tony. Are the computers running the same operating system? Do you want them to share a single internet connection? How far apart are they? Do you want them to share files and printers.
The cheapest way would be a couple of Network cards and a cable. That would enable both computers to share the same Internet connection.
A better plan involves a Router, which enables the computers to access the Internet independently.