Start by doing exactly what the message says: power the console off. Then work out what triggered it.
The most common culprit is a dirty laser lens inside the disc drive. When dust builds up, the Wii struggles to read discs and throws this error during play. Cleaning the lens or using a lens-cleaning kit usually clears it. Overheating from poor ventilation and a scratched disc can cause the same message.
A step-by-step guide was posted here:
https://tinyurl.com/3vsaeq3