When was the last time it worked?
Has anything been installed on the machine since it worked?
Are you 100% that your router is connected to the internet?
Does Windows tell you that you're connected? (In the system tray on the bottom right of the screen, does the computer screen have a red x through it or a yellow !?)