A poor broadband connection, perhaps. Try resetting the router. If no go, try your ISP's diagnostic procedures, which will be described in their website or app.
And it would help to know if a) anything else connected to the router is connected to the internet and b) if the phone can connect to the router itself (see the router's manual if you don't know the address).