|You haven't provided enough information.|
State the make and model of your brand name computer, or the make and mofel of your mboard if you have a generic system.
"by the way i do not use a modem or router to
get internet. i have a labtop so i get internet
wirelessly or wi-fi"
Assuming you don't have a USB mobile internet stick or similar (which connects to local cell phone towers)....
It doesn't matter whether you connect to the internet via wired or a wireless network connection, there still has to be some device that goes between the network connection and the internet - for most people in most situations that's via a high speed modem or a router that connects to a high speed modem, or a combo high speed modem/router, whether they own such devices themselves or not.
Your wireless network adapter has to connect to something else wireless, that connects to the internet one way or another. If the device it is supposed to connect to has a problem connecting to the internet, or if it's off, your wireless adapter can't connect to that device or to the internet via that device.
In most cases wireless connections require the same encryption key on both end of the connection (public places such as an internet cafe may not use a key) . If you were connecting to someone else's wireless device and they changed the key, or they didn't use a key before but now have one, or if they switched off the wirelesss connection in the device'sconfiguration, you can't access that device unless it's wireless connection is working properly and/or you find out what the key is and use that. If the device has moved farther away, the signal may not longer be strong enough for you to connect to it - e.g. if it's strength is 3 bars or less out of 4 in an icon for that.
You can look at the locally available wireless connections in XP - if security is enabled for a connection, you must be using the right encryption key in order to access that connection
"i found out my wireless network was
If you mean "....my wireless network..." CONNECTION "...was unavailable..."
Sometimes devices may not work properly after the computer goes into Hibernation or Standby modes. E.g. that can often be the case if you didn't load the main chipset drivers for the mboard after Setup was finished the last time you installed Windows from scratch, because then Windows doesn't have the proper info about how the mboard's ACPI support works, which includes how Hibernation and Standby work.
Did you try restarting the computer?
Whenever you load Windows from a regular Windows CD (or DVD) from scratch, after Setup is finished you must load the drivers for the mboard, particularly the main chipset drivers, in order for Windows to have the proper drivers for and information about your mboard hardware, including it's AGP or PCI-E, ACPI, USB 2.0 if it has it, and hard drive controller support. If you have a generic system and have the CD that came with the mboard, all the necessary drivers are on it. If you load drivers from the web, brand name system builders and mboard makers often DO NOT have the main chipset drivers listed in the downloads for your model - in that case you must go to the maker of the main chipset's web site, get the drivers, and load them.