You can set your phone to use mobile data automatically when the connection to the Wi-Fi network is weak. To turn Wi-Fi Assist on or off, you need to turn on mobile data.
Press Mobile Data.
Press the indicator next to "Wi-Fi Assist" to turn the function on or off.
Slide your finger upwards starting from the bottom of the screen to return to the home screen.