What happens if teams are level on points in the Euro 2020 group stages

Just like in the UEFA Champions League, the Euros have a head-to-head system if teams finish on equal points in the group stage – how does it work?

Relevant news