I would try the easy fix first that works for most Blackberry problems...a battery pull. Pull the battery and allow the device to reboot. Then see if the WiFi works correctly. If not, then you may have to manually install the settings for your WiFi router. I would also recommend turning off all passwords temporarily on your router just to see if your device will connect. If it does, then turn on your password to your router and try to see if your BB picks up your network. Hope this helps.
I am glad you got it working again. Also, welcome to the community forums. Please feel free to stop by any time and share anything about your wireless experiences with us here.