Working while pregnant

I recently landed a new job working from home during the interview I didn't specify that im 24 weeks pregnant how do I tell them I start on August 1st any advice ladies illl eventually go in labor and I would need to be off while I'm at the hospital