Hello. Just like in real life, it takes time to get things out of the backpack, and it can be troublesome in the middle of a fight. Check your equipment and healing items beforehand and make sure they are enough do defeat the next opponent. If you still need to change them, try retreating for a few steps or exiting to the global map.