Plug a computer with a cable to the router. Open up command prompt and do ipconfig /release and then ipconfig /renew
Then do ipconfig /all to verfiy that you recieve an IP address from the routers DHCP server. Now ping the default gateway (router)to get a reply, now ping www.google.com
to get a reply. See what happens.
Tell us what is the brand and model of your router.