If your computer does not have an ethernet port ... OEM and get a replacement if it’s still under warranty. If the WiFi icon has disappeared in Windows, check your system Settings.
Here is how you can set your preferred WiFi network on Windows 11/10 so you connect to the network of your choice instead of what Windows decides.