Is it safe to fly before the second trimester of pregnancy?

Yes. Assuming no other complications of pregnancy air travel is safe. Most airlines will allow travel up to 36 weeks gestation.
Yes. It is safe to fly in early pregnancy. It doesn't increase your risk of miscarriage, although you can miscarry. If you start cramping or bleeding while traveling, call your doctor or go to the nearest emergency room.