You didn’t answer my question. If your PC and your phone have lost internet service at the same time the problem is with your internet service.
You can start by removing power from your modem and router. Wait 10 seconds and plug in the modem. Wait another 10 seconds and plug in the router. Wait 30 seconds and test.
If this doesn’t solve the problem contact your ISP.