Flying pregnant?

Is it safe to fly 4-5 hours at 5 weeks pregnant.