What should you do when an error message pops up on the screen?

A.)Select okay and continue working.
B.) Write down the error message and continue working.
C.)Turn your computer off and let it cool before turning it back on.
D.) Write down the error message and research the cause based on the message.