How Do I Check My HP Printer For Errors?

Why does my HP printer keep saying error printing?

.

How do I check my printer for errors?

How do I run a diagnostic on my HP printer?

How do I get my HP printer out of error mode?