How to connect tow different PC’s with one printer through networking?

What are the different methods of networking? This is the major issue now a days because me and my brother purchased two new computers but we do not know how to create links among those two computers? I also have knowledge of different types of networking but what is the best way to connect that will give speed as well as accuracy.
If you help me then I will solve my problem in few minutes.
This issue should be resolved because we have to share more of our work with one another and other major reason is that we have only one printer. So this will link that one printer with both computers and we will use one printer on two computers very easily.
