Network connected but no internet access laptop

Need more info..... So you can connect to your router with a cable but you cant connect to your router wirelessly? If this is the case describe any kind of error messages or the message that is produced after running network diagnostics.