First of all, check your router (the thing that gives you internet). Maybe that's the problem. It that doesn´t work, try going to settings and going to WIFI. Then disconnect the WIFI and connect it again. Sometimes the WIFI gets connected, but doesn't like ¨grab¨ correctly, so it keeps falling. Hope this helped.
Hm okay, so this happened to me last week, what I had to do was connect to my guest internet instead of our home internet then I was good to go. But it may depend, please check back once you connect to any other internet. I also understand this may not be conventional so please look for other ways this is just what I did.