To connect through Wifi Install connectify software in laptop to make a wifi hotspot. Then connect your phone to this hotspot.
You can find your local network's IP by go to cmd or press Winkey + R then type in "ipconfig". It will give out some information and your local IP should look like 192.168.1.x .
Using this IP you can connect to your local host from your phone
To connect through USB: You should go for REVERSE TETHERING...... May be these links would help you. http://www.orclage.com/connect-internet-pc-laptop-android-mobile-phone/