To get on base in a baseball game,
either hit the ball and run to first base without getting tagged out, or get walked by the pitcher.
either hit the ball and run to first base while also getting tagged out, or get walked by the pitcher.