A. To free up space, go to your iPhone's Settings > General > iPhone Storage. Here, you can see which apps are taking up the most space and delete any unnecessary apps or data.
B. Consider offloading unused apps, which allows you to keep their data while freeing up storage. You can do this by going to Settings > General > iPhone Storage and selecting the app to offload.