CEOs, CFOs, COOs, or anyone who runs a company or team of significant size should be sure to talk to an equity compensation consultant or a specialist at a law firm to learn about equity compensation plans.
Founders looking for an introduction to the legalities of running a company may wish to check out Legal Concepts for Founders, from Clerky, in addition to talking to a lawyer. Founders should also lean on their investors for advice, as they may have additional experience.
Executive compensation at large or public companies is an even more nuanced topic, on both sides of the table. Hire an experienced lawyer or compensation consultant. There are extensive legal resources available on executive compensation.