A lightweight, compact travel stroller is the best choice for flying. In most cases, you can use the buggy up to the gate, where it will be checked in before boarding.
If the folded size is small enough to fit in the overhead compartment, you may be able to take it on board as hand luggage. This depends on your airline’s specific size and weight restrictions, so it’s important to check their policy in advance.