Ok. Are you getting a valid ip address? It will probably look like 192.168.1.xxx. If your address is like 169.254.x.x then you are getting a private IP address from Windows.
If you are getting an address that looks like the second, then your router's DHCP service isn't working. You can either connect to your router and fix it, or assign a static IP in the correct range to get things working.
But if it looks like the first, then something else is wrong. If this is the case, do other devices connected to your router work?