There’s no definite answer to that. Some people manage to become famous when they’re 13 years old, like chess Grandmasters, and some become famous when they’re older than 50, like surgeons. But generally, most people in all careers become famous before they’re 30 years old.