You should be able to search in this forum for it, since many question and answer already given..

Basic requirement for sharing are:
1. File and printer sharing is turn on/enabled.
2. You must shared something (a folder/directory).
3. Sometimes you also need a same workgroup name (although it might see each other even with different workgroup name)