Dating after having a newborn?

When do you think it's ok to try to talk to men after recently having a newborn?

I'm single with a newborn and a 7yr old. Life is lonely in ways of not having a significant other or even just having someone to talk to.