Can you provide some more information?
When you say that you are connected, do you mean that you can ping the gateway successfully? Is this a new issue or did it happen after some new software install or OS reinstall? Have you tested a wired connection to see if that has Internet access? Can other devices access the Internet from the wireless router?