If you mean teenage Gohan, the relevant point in the story is after he enters the Hyperbolic Time Chamber. That's where the older version becomes available to you through normal progression.
No cheat is required — it's a story unlock rather than a hidden code. Push the plot forward and the character follows.