Can you fly pregnant?

Can you fly pregnant, especially in the first 12 weeks?