Well, it does not sound nice, can you get to Settings menu in some way? I think about shortcut or something alike. If you do, then make a master reset or master clear, it may solve your problem. If not - there is always a Windows-like solution (if it doesn't work, reinstall the system) - reflashing via PhoneXS is very simple, just takes some time.