Welcome to HP support community.
Restore network defaults
On the printer, select Restore Network Settings (or similar) from the Wireless , Settings
, or Restore Settings menu.
Connect the printer to WiFi using Eireless setup Wizard
Select Wireless Setup Wizard from the Wireless , Settings
, or Network Setup menu, and then select your network name and enter the password.
I hope that helps.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Cheers..