Connect the computer to the router with an ethernet cable.
See the literature which came with your router for how to access the user setup screens in the router. Once in go to wireless security and review or renew the wireless security type and password. WPA PSK TKIP is the most common security type in use.
Disconnect ethernet cable.
Apply the wireless security type and password to the computer's wireless networking setup screen.