According to airline laws, you must get a medical certificate to confirm your fitness to travel after 28 weeks. Permission to travel is usually denied after 32 weeks.