Hello Technology1
Welcome to the HP Forums I hope you enjoy your experience!
I see you are getting the error "the system has detected that a cooling fan is not operating correctly". I would suspect you also received an error number 90b with that message. I am going to direct your attention to an HP Support document: System Fan (90b) error message on startup. This document addresses the exact error you are receiving, it will assist you in finding a resolution to whatever is causing the problem.
I hope I have been able to address the issue you posted about to your satisfaction. Thank you for bringing your issue to the HP Forums. Have a great day!