Moving on when you have a 9 month old.

I just got out of a year and a half long relationship. How long should I wait to move on when I have a baby?