Marriage

How long should you and your boyfriend/girlfriend be together before you bring up marriage and does it change anything of the both of you have kids together?