Unable to get out to the internet on Ubuntu 18.04

I’m using wifi and it shows that I am connected to my home network but i am unable to get out to the internet. What is strange is if I connect to my iPhone hotspot I can connect without any issues. I tried changing the DNS address on ipv4 to google DNS but that didn’t change anything. I am unable to ping it says network is unreachable. Any ideas on what the issue cold be?