Men start off mostly worthless by default from a dating perspective, and gain attractiveness as they gain money and status. So, make money and gain prestige. Pretty-boys who peak in high school are the exception.
Women peak in physical attractiveness to men as soon as they mature. Emotional maturity plays a role in attractiveness, and that generally improves over time, so peak overall attractiveness for your average woman is probably in her 20s. So, ignore women in your 20s and make lots of money, and then, when you're 30 and rich, marry a 20-year old.