What will happen if a spectator gets hurt during the match

Who provides treatment to spectators who are injured by the ball in a cricket match? What is the process?

The result of the ongoing Test match between India and New Zealand came out today…