Usually when you have to get the password for the Wi-Fi network, it will be entered automatically every time you are in the area, so you do not have to remember it again.
How about you also igin share passwords with other people? That's easy, you can get it back. First press on the icon Wi-Fi on your taskbar, and select '"Open Network and Sharing Center".
From the left sidebar, select "Manage wireless networks"
Right click on the Wi-Fi network you want to know, and select 'Properties'.
Go to the 'Security' tab, and tick the box "Show characters". You will see that the password has been entered for the Wi-Fi network.