Only Gyarados learns Dive by level-up (at Level 39). All other Pokémon require a Technical Machine (HM06 in Generations III–VI, TM in later generations) or a Move Tutor to acquire the move.