Pregnant and flying

I’ll be flying for about for about 3 hours in 2 weeks. This is fine right? I’ll be 14+ at that point. Then planning another trip at 23 weeks.