The last dialogue option will always give you a chance to run. You can turn around immediately, and usually walk past the guard without another encounter.
You can also fight your way through. You will gain something helpful in your first fight with a guard.