First, disconnect the printer, turn it off and unplug it from both power and computer. Leave it that way throughout the following, until you are instructed to connect it up again by the installation software routine (or, at least, by that routine having completely ended and finished and exited etc.)
So: turn off, unplug, unplug your printer.
Go to your computer, to the Start button, then to Control Panel, and remove all entries for your printer and its series in Devices And Printers, by clicking on each icon (or entry) and deleting. (In this case, if there are any scanners shown, or any HP devices, select and then delete those, also.)
Then, reboot your computer: shut it down and start it up again.
Then, go to
and follow the download process, getting the driver onto your disk, and completing the download and then starting the driver installation program and following through the process.