I told everyone pretty much within 2 days of finding out.
However DP waited a few weeks to tell his family, as he was still pressuring me not to keep the baby at the time...