Boot up computer and get to command shell/prompt by typing cmd at start run.
In command shell type IPCONFIG/ALL and report back your results. If you see a 169.x.x.x or 0.0.0.0 then try IPCONFIG/RELEASE and then IPCONFIG/RENEW and then perform IPCONFIG/ALL again and see if you have a valid IP address now.
If the IP doesnt change then go into the network properties for the network adapter and make sure it has a checked box for dynamic IP address and not set to static. If you change to dynamic from another setting then , apply, and then perform an IPCONFIG/Release and IPCONFIG/RENEW at command shell. You can also try a IPCONFIG/FLUSHDNS if you can ping to
www.google.com and see successful pings but browser doesnt get to websites correctly.