Can you fly on a plane after losing your mucus plug?

Usually the airline have a limit for pregnant women for flying, around 7 months, so if you are about to start labor anytime it is def not allowed.