How were marriages arranged in medieval European society?

How were marriages arranged in medieval European society?