iPhone X turns wifi off by itself
Hello, my iPhone X keeps turning wifi off by itself and when I go back to the settings app to turn it back on, the whole phone freezes or won't turn on. To fix this, I've had to either restart my whole phone or delete the app and get it back again. I don't know what's happening to it and everytime the issue gets worse. What can I do?
iPhone X, iOS 11.3