flying while pregnant

is it safe to fly if im 6 to 8 weeks pregnant