You could use a switch if you want to skip the configuration parts(there isn't any). Just plug the switch in and connect lan cables to both your pc's and you should be good to go.
You could use a router as well, and the only configuration on your PC's would be to use the ipaddresses allocated by your router, not the one given by your ISP.
Let's assume your ISP's gateway address is 192.168.1.1. If you put a switch, this is how your network ought to look like:
Code:
<----isp-----------[switch]------[PC1 (192.168.1.10)]
(192.168.1.1) |__________[PC2 (192.168.1.11)]
If you use a router instead of a switch, only the subnet would change, like so:
Code:
<----isp-----------------[router]-----------[PC1 (192.168.0.10]
(192.168.1.1) (192.168.1.2/192.168.0.1)
|_____________[PC2 (192.168.0.11)]
Not sure if there's any reason to go for a hub, switches are dirt cheap these days and are a much better option. Go for a wireless router if you also have a laptop: you can use cables for your desktop PCs and wireless for your laptop.