Most airlines freely allow pregnant women to fly up to 36 weeks into pregnancy. Some of them may require an official medical report and permission to fly from your supervising doctor after the 36th week, while others have no specific rules for this. Restrictions may vary depending on the airline.
For this reason, we recommend checking the airline rules before buying your ticket.