If a player makes contact with an opponent’s face with the hand/arm while challenging for the ball, the referee awards a direct free kick (or penalty kick) if the contact is:
➡️ careless (no card)
➡️ reckless (caution, yellow card)
➡️ using excessive force (sending-off, red card)