Telling your Job you’re pregnant

When did you all tell your boss/ HR dept you were pregnant? I started a new job 3 months ago and am currently 5 weeks. I am already off getting very sleepy at work ... not sure how to approach this. I don’t want everyone to think I’m slacking 🤷‍♀️