You'll first need to access your Intelligent Wi-Fi settings by opening your Settings app, tapping on the Connections tab, then Wi-Fi, then the three dots (for expanded settings) on the top-right ...
Your internet connection depends on multiple devices working together. Here are the details to help you troubleshoot problems and stay online.