Walking Fast or running slow to keep HR in the prescribed zone. Which is better?

Heart Rate training relies on you sticking to your prescribed zone. But what happens if you your HR tops your prescribed zone every 50m.75m or 100m and you are forced to walk to bring your HR down again? Should you rather do a brisk walk when your HR goes up? Or run really slowly? What is the best method?