Colin, with that limited information, it is going to be difficult for anyone to offer you any real assistance. It would be helpful if you could provide more specific information.
For example, what kind of network configuration do you have? Do you use a cable modem or DSL line? Is your computer connected directly to it? Are you on a hardwired LAN ? Are you on a wi-fi network? Do you use a DHCP server or do you manually assign a LAN address to your machine?
Without knowing the specific details to questions such as the above, I can only offer very generic suggestions, such as:
1. Shut everything down and leave it off for a few minutes.
2. Reconnect your modem first and let it re-establish a connection with your ISP.
3. If your modem is connected to any kind of router, turn that on next. Let it establish its link to the modem.
4. Next, connect the ethernet cable between your computer and the modem or router, whichever it is.
5. Check your Network preferences pane, and make sure that all of your settings are still set properly.
I have had experiences on rare occasions where either my cable modem or my wi-fi router will become confused. If your router is set to use a built-in DHCP server, this could alter the NAT address -- internal IP address -- of the machine that you are using. This could break your Internet connection.
In fact, power fluctuations and power outages can also mess up the above. Maybe something happened during the night to mess things up. It does happen.
I hope this helps in some way.