check wifi connection setting (wi-fi timer) see if that's on. It shouldn't be on. Check host file. If host file is clean then check the connection (5gh or 2.4gh). If that's not the problem, fresh install factory new os. If that don't solve it then your wifi card is broken, get a new phone.