[Problem] To provide a method for controlling the flight of a drone and a program with which the drone performs accurate spraying of a chemical in farmland located in narrow and complicated terrain even when there is no accurate map information beforehand. [Solution] A drone is controlled using two modes, specifically a cultivated-field shape ascertaining mode and a chemical spraying mode. In the cultivated-field shape ascertaining mode, the drone is caused to fly a lap around the inner side of the boundary line of a cultivated field at a given altitude while the position of the drone is maintained so that the boundary line of the cultivated field is visible on a given elevation angle line, and position information gathered during this process is saved in memory. In the chemical spraying mode, a chemical is sprayed within the cultivated field in accordance with the saved position information.