How can I run away and avoid the fight?

Keep in mind that you can tap the compass icon in the upper-right corner of the screen to switch to the world map view which will let you flee from any battle instantly and avoid having your character's health reduced to zero and fall in battle.