laptop problem when connecting to broadband or wifi

The problem as presented is too broad/generic. Need more details about the system, steps you have already tried, etc.
It could be anything, ranging from the networking card is not installed / configured properly (or not turned on) to the network being password-protected or otherwise limited in the devices it accepts (MAC address limitations, for instance, even for networks that are "open").