How long does it take to learn to fly?
Most flight instructors in an ideal situation would recommend two to three lessons in a week’s period. Any more lessons and you risk saturating a new pilot with too much information too soon. On the other side of the question, a new flight student would want to try and fly at least once a week. Stretching the time out further than a week will risk having to relearn material from the prior lesson.
Weather will also sometimes impact the timeline. A stretch of bad weather or high winds could introduce additional time into learning to fly.
Student pilots also need to have time to study to pass a written test. There is also material that will have to be reviewed as part of your aviation training.
Typically a 2-4 month period of time will allow for a student to get through flight training and pass the Private Pilot or Sport Pilot check ride.