Wi-Fi no longer working

My motherboard has on board wifi (MSI B450 Gaming Pro Carbon) and I have been using the built in wifi with no problems but all of the sudden it stopped working today, it would show connected in windows but as soon as I try to use the internet is says connected but no internet. My internet works as my roommates all have connection, and I can run an ethernet cable across the house and it works, but not the wifi. Any suggestions as I cannot keep the ethernet cable long term.

EDIT: found it this is a common problem for my MOBO (which sucks because why would MSI make something that just breaks after two years) and am now using a USB wifi adapter until I have the money for a proper PCIe card So I would NOT recommend the MSI B450 Gaming Pro Carbon AC if you intend to use the WiFi functionality