How long before getting into another relationship

I was with my now ex-husband (common law married) for almost 7 years. We have 2 beautiful children together but we split up on May 7th. I have been talking with a long time friend since a couple weeks after we split up and things are starting to get a bit serious. My family has been freaking out saying it's too soon, so my question is. How long should I wait before actually getting into another relationship.