how many computers do you have ?
how are they connected ? if just 2, you need a crossover cable, if more you will need a hub, switch or if you have internet , I would recommend a router.
If you get a router, it will protect your internet connection and have DHCP , that will have dynamic ip addresses. does not realyy matter whether you have dynamic or static ip, just that they are the same on all machines except the last octet and you are on the same subnet. Your workgroup should be the same name, you also have to have each others account on both machines and they have to have passwords. you should share a folder and of course share the printer.