When your Chromecast isn’t working, the first thing you should try is rebooting the device. The easiest way to do this is the tried and true method of unplugging it, waiting for a minute or so, then plugging it back in.
Give it a few minutes to start up, then try casting to your Chromecast again. This will solve the problem more often than not, but if your Chromecast still isn’t working, move on to the next step.