Your answer is for a windows machine, I am using a MAC
Hello and welcome to Tom's Hardware Forums.
Use the cable that came with your router to connect to your computer then go Start then Run in XP - or use the Windows key plus R in Vista and Windows 7, then type in the following into the Open box, including all the spaces:-
cmd /k ipconfig /all
then press Enter and from the black form that shows up, take a note of the numeric code beside the Default Gateway icon - something like 192.168.0.1.
Type exit to close the black form.
Open Internet Explorer and enter that code into the URL address bar as though it was a website. You're then at the login page to the router's settings utility and admin will usually be the login with either admin or password as the password but your router's instruction manual will help you there.
If you're in, seek out Wireless and then Security and take a note of the key. It's adviseable to keep a note of that security key in your Documents folder and also outside the computer.