I suggest that you first have a read of
this,
then check that you can ping one PC from the other - first using the IP address, then using the PC names.
If all that works, next ensure that you have "File and Printer Sharing" selected on both PCs - in network Properties.
Finally, you may need to adjust your firewall settings to "allow" connections to and from PCs on your home network.
SD