It can depend where you're going to and who your bank is.
For instance, if you're an RBS or Nat West customer going to the Republic of Ireland, you should be able to take your cash out of an Ulster Bank ATM without any commission.
If you're bank doesn't have any arrangements, withdrawing from your account at your bank is likely to be the cheapest option.