My iphone won't work with Wi-Fi?

So when i connect to my Wi-Fi on my iphone it won't load the pages, it gets really slow and eventually i have to turn the Wi-Fi off to get it to work. My iphone is a 4s and it's been happening since yesterday

Try powering off your phone then on again. Otherwise if that doesn't work bring the phone into wherever you purchased it it may have bad Wi-Fi receptors.