You need to access the routers configuration page to do this. The IP address of the router needs to be entered into your web browser. e.g click here. Refer to you routers set up information or manual.
When accessed, you will need to go to the security settings where you will need to select a shared key (password). If your router has the option, you should really use WPA security and not WEP.