This varies per person. How many lessons you need depends, among other things, on your insight. How often you come to fly also plays a role. Depending on the type of licence you need a legal minimum of 30 (LAPL) or 45 hours (PPL). For a PPL, the investment is around € 15,000 and a year of lessons. In our Trivia section you will find an extensive article about the costs of flight training.