Why won't Wi-Fi work on my iPhone 5?

It hasn't been working right ever since I installed iOS 7. Like it connects to the Wi-Fi but it doesn't work at all. And I know it's not my Wi-Fi network that's having problems because it works on my laptop and my kindle fire. Why is it doing this?

Even your Wi-Fi hates iOS 7.

You have a few options you can do to fix this!
Most common (in this order)
Step 1: Turn Wi-Fi off then off again. If that doesn't work do step 2
Step 2: reboot your phone by pressing the "lock" button at the top right hand corner, then swipe to power off. Wait 2 minutes (suggested) and power on again. No fix- go to step 3
Step 3: do a factory reset, go to settings, general, reset. And the last thing you can do is to… Step 4
Take it to an APPLE store, not a best buy or target or kmart but a APPLE store. They can take a look at it and if they find a problem they will exchange your iphone for a new iphone.
Hope the first 2 steps help and you don't have to go through all the others!