IFAB rules dictate that any player who receives medical treatment on the field must then come off, albeit only briefly. But this rule does not apply to goalkeepers. It also does not apply if a goalkeeper.