We all started some where. First make sure the new PC has a WIFI adaptor and can I assume you already have a broadband router at home?
If so, you build pc, install windows or Linux and on setup/login you will normally be asked to chose a network of your choice, enter your password and your good to go.