How to avoid making the same mistakes your parents made