|This would be covered in your routers manual.|
Basically you go into the printers settings via its control panel on the printer and set it to dhcp and give it the wifi encryption password.
Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's