If you want to connect both laptop and desktop to the router wirelessly the computers will have to have wireless adapters (if it's a newish laptop it may already) .
For how to do it, I suggest you download the manual for your wireless router from the manufacturer's website.