My iPhone is often clogged with some small programs, I often have to delete the cache. But in order not to do this, I decided to download an application that will do this work. If you have the same problem, then you can fix it by reading this article https://backlightblog.com/icloud-storage-full on how to properly free up space on your iPhone. The phone then starts to function normally again.