Substituting means swapping your ball in play for a different ball, which the Rules only allow at certain times.

You can substitute when taking relief, when playing again under stroke and distance, or between holes. If your ball is cut or cracked during a hole, you can replace it with another ball. Otherwise, you must finish the hole with the ball you teed off with.