A big lesson here is to have a good financial education, what helped me a lot was the fact that even the business started to go really well, I didn't started to spend more, I pay myself a decent salary and I try to live with it, so even if the company get bankrupt, I would probably easily find a job somewhere else.
This helps to think more long term and do what is best for the company, while avoiding the extra 'personal' pressure from your wife, kids or others that rely on your income.