Question On Flying

Is it safe to fly in an airplane if you are pregnant? Have any of you done it & how was your experience? A loved one is very ill and we have to get there by plane. Just a little worried about that. :(