If you forgot a password that your computer had stored for you previously, go to Applications > Utilities > Keychain Access. From there, look down the list of items until you find the one you’re looking for, double click it, then click the Show Password checkbox. You will be asked for your computer’s Administrator password to see that saved password entry.