To upgrade your iCloud on your iPhone, go to Settings > (your name) > iCloud > Manage Account Storage > Buy More Storage.
Storage space can be hard to come by on your iPhone. One minute all seems okay and like you have enough space, and then the ...