After a few days, my Macbook's connection to the PC will go bad, how to solve it?
Just a guess; does you home network use DHCP? I wonder if the address lease is timing out and the Mac isn't looking for the PC via your DNS.

You could try changing the address lease time on your router to never expire (depending on router type), or you might consider giving the PC a fixed address instead of using DHCP.