When do I need to stop flying ?

Emily
When is the cut off date for flying ? I'm currently 22 weeks