Which type of Internet connection are you using ? Dial-up or Highspeed (DSL/Cable).
Are you getting any IP address from ISP?
If you are sure that you are connected to ISP, try,
Run --> Command --> IPCONFIG /flushdns
Close your browser, open it up and try browsing now.
Technology Bytes Plus