A lot of people prefer to fill in the FMM form on the plane. Airlines that will fly you to Mexico will have forms and they will put them at your disposal during the flight. You need to fill in the application, and then you must take it to the service counter when you land in Mexico.