Rainbow babies!!?

For those that had your rainbow babies after your miscarriages how long did you wait to tell people ? Like your family, friends, social media? My boyfriend would want to wait until I'm at least 3 months to tell people(that even includes our family) just to be on the safe side..