How do I Fix the Attention Required on My HP Printer?

It is so frustrating to print from a three-month-old HP printer. It keeps on saying attention is required on every print command. I do not know how to fix the attention required on my HP printer. I had run the troubleshooter to fix it but it won’t work for me. Later I disconnected and then reconnected it to the wifi but again no luck. Please provide me with the tips to fix this problem permanently.
Response by [Kelvin Morton]
Please be calm Mam. Now, do one thing firstly update HP printer firmware and HP Smart app. Now you need to find the diagnose and fix option from the menu bar of the HP smart app. Next, you need to click on it and wait to complete the process. Now restart your computer, printer, and Wi-Fi device and again try to print. If the problem persists then follow the complete guide to fix HP printer attention required error message.