5 months and new job

I start a new job today I’m 5 months pregnant and my new job isn’t aware. I didn’t mention it cause honestly I was skeptical about them hiring me. But when should I tell them? And how? I want to work up until 8 and a half months or so. Due December 31st.