You're stands for 'you are,' so, if you were to say this sentence outloud, you would say:
Richard told his son, "You are (You're) young, but, when you grow up, you'll understand.
*You also use you're to describe something or someone, and, your to describe ownership, for example: Your clothes look nice. VS You're looking great today!*