I've been giving this advice a few times to folks, so I thought I'd put it into a blog post!
How to avoid co-founder disputes by making the key decisions you need to make (on economics and control) before your venture really starts to make money.
https://khanna.cc/blog/starting-a-business-with-a-cofounder/