Start with the simplest fix: unplug the console from the mains, wait a few seconds, and power it back on. Most freezes are temporary and clear with a hard reset.
If it will not come back on at all, that points to a hardware failure in the system itself rather than a crashed game. In that case check the power cable and socket first, then consider a replacement, since a dead PS2 is rarely worth repairing.