You’re going to have a baby! Congrats on your exciting news! Planning on revealing your news soon? We know you might already be thinking about telling loved ones and possibly your social media feed. But, have you thought about how and when to tell your boss you’re pregnant?

Related: 11 tips for working moms to manage mental health

You might be feeling nervous about telling your boss or letting the office know, after all it’s an important conversation for everyone involved. But by planning ahead, you can feel confident and comfortable when you walk into that conversation. This way you can also figure out your own plan for projects or tasks you might have in the pipeline.

We understand that sharing your big news can be just as scary as it is exciting, so we’ve put together a step-by-step guide on how and when to reveal your pregnancy. With some trusted advice from moms and experts who’ve already been there, use this guide to help you navigate how to tell your boss you’re pregnant.

How and when to tell your boss you’re pregnant

Know your basic benefits & rights

Do your homework about your company’s maternity leave policy. You don’t have to become an expert, but it’s helpful to be familiar with the basics.

If you’d prefer not to march straight over to HR the day you see the + sign, you might try asking a new mother in the office for the lowdown. You’ll feel much better if you walk into this sensitive conversation with some knowledge under your belt.

Don’t forget to research your state’s laws, too. A Better Balance has created a comprehensive Workplace Rights Hub. You can search for your state and read up on laws in your area.

Tell your boss first, even if your colleagues are your friends

You don’t want your boss to hear your baby news from someone else or because of your Facebook or Instagram posts.

When you’re ready to share the news, try the following order of operations: Check in with HR, tell your boss and then go wild on social media sharing the news! One reason to consider telling your boss first is that they may be too nervous to bring it up, even if they hear it from someone else.

As prominent employment lawyers have noted, for many managers, even mentioning pregnancy and child-rearing is off-limits. They may feel too awkward to ask you about something they heard from another person.

Consider your timing

Most women tell their employer they’re pregnant sometime around the end of their first trimester or in the early part of their second trimester.

That’s partially because the risk of miscarriage is significantly reduced at that point. This timing also corresponds with when many women start to “show.” However, if you have an important deal, project or performance review, you may want to consider telling your manager afterward, as some women say it can help to have a little momentum at your back before making the announcement.

Just be careful about waiting too long: There’s a lot to cover for in your absence and you’ll want to make sure you empower your boss and coworkers with sufficient time to plan.

Do it in person (if possible)—be upfront & brief

This meeting is the first time you’ll be telling your boss you’re pregnant, but it’s not the last time you’ll be talking about it with them.

If at all possible, you should tell your manager the news face-to-face, if for no other reason than to gauge their reaction. While we know this isn’t always possible, the next best thing would be a Zoom or Google Hangout call with your video on.

Related: The ‘motherhood penalty’ costs working moms $16,000 a year

In this initial conversation, tell your boss that you will share a plan about your maternity leave (if any), and try to defer details about dates and other logistics until another time. This gives you more space to consider how your work life and personal life are developing in the coming months.

Calm your nerves first

We know that not being nervous is easier said than done. Working moms everywhere worry about being judged as wishy-washy about their careers or less dedicated to their jobs. These perceptions play out in subtle ways, and while they are real, you should hold your head up high.

First, other people’s biases are largely out of your control, so try not to waste too much energy worrying about them. Second, you should aspire to communicate confidence about the upcoming change in your life regardless of how uncertain you may actually feel.

One study found a correlation between women who worried a lot about how they would be perceived when pregnant at work with higher levels of burnout. It also might help you if you talk to other working parents around you. They can share their experiences and you will probably hear how “mom skills” can be assets in the workplace. You might also be surprised at how supportive working fathers are.

In 2015, the Equal Employment Opportunity Commission, the federal agency responsible for enforcing pregnancy discrimination laws, issued guidance for companies that offer parental leave. In short, the EEOC stated that there are only certain medical reasons to offer mothers longer parental leaves than fathers.

In other words, your male colleagues should support your time off to bond with your child because (among other reasons) they should be entitled to it, too. Everything from time management to people skills can improve after motherhood—which tests even the most competent professionals in areas like resource allocation and patience!

A version of this post was published February 10, 2020. It has been updated.