You will need an active internet connection through your router — if you do not have one, that is the first thing to sort out.
Once you are online, launch Warcraft III, go to the main menu and choose Battle.net. From there you log in with your account, pick a gateway, and you can host or join games, or head into the ladder.