there are different ways of going about this but the first is same as windows , you need to know the wifi ESSID i.e the name that your wifi is broadcasting and the passphrase or password your intrtnet provider gave you for wifi.
lets start simple , i have a simple icon consisting of 2 pc screens; i right click and click in box that says
if i disable it and try:
bash-5.0# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down
commands and which ones then depend on which distro your using; can you tell us ?
if i enable wifi and try same command again i get: