Thanks for replying!
I didn't connect to VPN, the computer was shutdown while it was connecting and I couldn't use the internet after turning it on again, so I thought that that may be the issue.
I think I can send photos of the outputs of the commands.
I can connect to any wi-fi but I can't enter any website or ping it. My computer has recently suddenly shutdown while I was connecting to VPN, my guess is that this is the issue but I don't know how to fix it. I don't know what information to share for you to help, sorry.