When did you tell your SO

when did you tell your SO that you're pregnant? Right away? Or wait a little bit just to make sure everything's okay first.

Also if anyone wants to give some ideas of ways to tell him! I've looked on Pinterest already but haven't found one I liked very much.