Hii,
Your modem is connected to the router and, depending on your settings, there may be a conflict between them. Or it's a wired connection that's having problems and can't access DHCP. Have you tried the cable with another computer cable to see if it connects to the network?
Do you know how to access your ISP modem or router through your browser?
Check if you don't have any IP address set on your network adapter > Start menu > Settings > Network & Internet > Ethernet > IPv4 Address, next to it there will be an Edit option > change from manual to DHCP or Automatic.
Give feedback if the information was useful or not.
Thanks