At how many weeks can you still get in an airplane

🌺Melissa🌺 • Mom of 2 lil girls; expecting #3 10/2015
Were hoping to go to Maryland this August or maybe September, not quite sure yet. I'm due Oct 28, mostly or maybe in the beginning of Nov. How safe is it? I've never flown in airplane before. Thanks ladies!