My iPhone is not picking up the wifi very well and when I go upstairs it cuts out, even though other iPhones still have full wifi upstairs.
reset network setting
restore the phone as new
In addition to what hazel suggested, here is a basic article, with links, on troubleshooting wi-fi
Retrieving data ...