As said above, stand your ground. Also make noises and wave your arms around and they should just stop!
Putting bulls and cows with calves to one side, I typically find the biggest problem with regular cows, is when you encounter a herd, which isnt used to puplic interaction in the their field...