I have heard people say, when you dream about being killed or someone is chasing you to kill you, instead of running fight and try to kill the person or thing. Don't let it overpower you.
I once had a dream where a snake nearly bit me, but I killed the snake and when I told someone about it, he said it's good that it'll avoid something bad from happening. So when you have such dream try to kill them.