How to connect desktop and laptop

Hello and welcome to Tom's Hardware Forums.

Either directly by ethernet cable or wireless through what is known as an ad hoc network, or through the router you use to connect to the Internet, which acts as a hub.

Post back which versions of Windows does each computer uses and someone will be able to help.