The easiest way to think of it is to think how UEFA does it. It goes to head to head if there are 2 teams tied.