The easiest way to diagnose your problem is to get a free trial of Network Magic. The Network magic download is available here
http://www.purenetworks.com/nmlp/home-networking.php?gclid=CJ_ZorKcp5cCFQsMGgodZ27QJA&src=google&kw=network+magic+download
The free trial is fully functional and will generally resolve your problem very quickly.
If it doesn't, Microsoft has issued these suggestions for XP
1. First, verify that you can't reach the Internet. Start Microsoft Internet Explorer, and attempt to connect to the following Web sites: www.microsoft.com, www.msn.com, and www.windowsmarketplace.com. If any of the Web sites open correctly, your Internet connection is functioning properly. If all of the Web sites fail to open, continue following these steps.
2.Unplug your modem. If you are unsure which device might be your modem, it is the device that is connected directly to your phone line (if you have DSL) or cable connection (if you have a cable modem). Wait one minute, and then plug your modem back in again.
3.If you have a router connected to your modem, unplug it. If you are unsure which device might be your router, look for the device that is connected directly to your modem. Wait one minute, and then plug your router back in again.
4.Restart your computer.
5.If you have more than one computer on your network, turn the other computers off. Also, close any network applications that you might have open, including file sharing and peer-to-peer applications. These applications can consume so much bandwidth that they might prevent you from being able to browse the Web. Repeat step 1 to retest your Internet connection. If the connection works now, the problem is that one of your applications is consuming too much of your Internet bandwidth or attempting to connect to too many different computers. Close the application, or configure it to use less bandwidth or fewer connections.
6.If you have previously configured your computer with a static IP address (for example, to connect to your office network), you probably need an automatic IP address at home. Fortunately, you can configure Windows XP to use both by following the steps in Automatic configuration for multiple networks.
7.If you are using a router, unplug the network cable that connects your modem to your router, and connect your computer directly to your modem. Then restart your computer. If your computer connects properly after restarting, the problem is with your router. Contact your router manufacturer for support.
8.If possible, connect a different computer to your modem, and attempt to access the Internet. If the computer is able to access the Internet, you might have a problem with your Web browser. Contact your computer manufacturer for support.
9.Your modem or your Internet connection has failed. To resolve the problem, contact your ISP technical support. To speed up the troubleshooting process, describe the steps you have already taken, including restarting your modem, router, and computer, and connecting your computer directly to your modem.